AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2012.12.18 20:56 "[Tiff] decoding tiff images with ycbcr and jpeg compression", by swagat mishra
2012.12.18 16:32 "[Tiff] decoding tiff images with ycbcr and jpeg compression", by swagat mishra
2012.12.19 13:04 "[Tiff] decoding tiff images with ycbcr and jpeg compression", by swagat mishra
2012.12.19 14:58 "Re: [Tiff] decoding tiff images with ycbcr and jpeg compression", by Bob Friesenhahn
2012.12.19 16:04 "Re: [Tiff] decoding tiff images with ycbcr and jpeg compression", by swagat mishra

2012.12.18 20:56 "[Tiff] decoding tiff images with ycbcr and jpeg compression", by swagat mishra

hi,

I am trying to decode the quad-jpeg.tif image with the TiffReadRgbaImage
interface. My libtiff version is 4.0.2 and it is compiled with support for
jpeg,lzw,libz and other compression schemes.
TiffReadRgbaImage returns true but i get a completely black image,instead
of the actual image.

I went through previous posts on the mailing list and it seems this is a bug in 4.x.x. Suggested fix was to set tiff tag JPEGCOLORMODE to RGB. However that did not work.

Can anyone help me with this?

Regards,
Swagat