2006.03.18 15:59 "[Tiff] old jpeg support", by Mikhail Kruk

2006.03.27 00:56 "Re: [Tiff] 3.8.1 and JPEG problem", by Joris Van Damme

Mikhail,

All right, I got the CVS problem partly figured out. I don't understand why diff wasn't showing any differences, but a new checkout gave me all your changes.

I tested again using tiffcp. The only TIFF file which is JPEG-compressed I have is in YCBCR color space. tiffcp didn't process it correctly, I believe there is a bug in it, but when I brute forced it to do

TIFFSetField(in, TIFFTAG_JPEGCOLORMODE, JPEGCOLORMODE_RGB); it worked (tiffcp -none jpg.tiff out.tiff produced an unencoded image which looks correctly).

Don't have time to compe up with correct tiffcp patch right now).

That sure sounds like there is still trouble in tif_jpeg.c...

Meanwhile, Frank checked current CVS, and found that at least addtiffo operates correctly. This addtiffo doesn't use TIFFTAG_JPEGCOLORMODE. My own tests without TIFFTAG_JPEGCOLORMODE also indicate all is fine now.

Best regards,

Joris Van Damme
info@awaresystems.be
http://www.awaresystems.be/
Download your free TIFF tag viewer for windows here:
http://www.awaresystems.be/imaging/tiff/astifftagviewer.html