2009.12.10 18:28 "[Tiff] YCbCr", by Steve Mills

2009.12.10 20:21 "Re: [Tiff] YCbCr", by Antonio Scuri

When loading YCbCr colorspace from JPEG compressed images I had a problem with the size of the returned images. The logic in "tiff_jpeg.c" returns a downsampled image. I fixed it changing the code so it returns a normal size image. Let me know if you are interested.

Best Regards,
Antonio Scuri

> -----Original Message-----
> From: tiff-bounces@lists.maptools.org [mailto:tiff-
> bounces@lists.maptools.org] On Behalf Of Steve Mills

On Dec 10, 2009, at 13:19:35, Joris Van Damme (AWare Systems) wrote:

Are you using the JPEG_COLORMODE pseudo-tag?

No. But I just added this call right after our call to TIFFClientOpen and it worked!

TIFFSetField(m_TIFF, TIFFTAG_JPEGCOLORMODE, JPEGCOLORMODE_RGB);

Is that the correct way to handle this?