| AWARE [SYSTEMS] | Imaging expertise for the Delphi developer | |||||||
![]() |
TIFF and LibTiff Mailing List Archive | |||||||
LibTiff Mailing List
TIFF and LibTiff Mailing List Archive Contact
The TIFF Mailing List Homepage |
Thread2009.12.11 18:37 "Re: YCbCr", by Antonio ScuriI don't think so. Because the logic will set downsampled_output to TRUE only if h_sampling!=1, and that happen only for YCBCR. If you want to debug the code, add a breakpoint at the line where "downsampled_output = FALSE;" in "tif_jpeg.c". If it sets "downsampled_output = TRUE;" then the output is donwsampled. If you send me a sample, I can test your image here if I can read it. The test I have supports CMYK images. Best, scuri > -----Original Message----- > From: tiff-bounces@lists.maptools.org [mailto:tiff- > bounces@lists.maptools.org] On Behalf Of Steve Mills > Sent: sexta-feira, 11 de dezembro de 2009 14:58 > To: tiff list > Subject: Re: [Tiff] YCbCr > > On Dec 11, 2009, at 10:15:39, Antonio Scuri wrote: > > > As Joris pointed out, you actually get Y Cb and Cr planes. So the > first > > component, that looks red, is infact Y, and indeed has the correct > size. But > > the Cb and Cr planes are downsampled. At least this is what I got > here. > > What if the file is jpeg-compressed cmyk? The TIFFTAG_PHOTOMETRIC tag > says it's cmyk, not YCbCr. I expect cmyk data in this case, but it sure > doesn't look correct. > > _________________________________________________________ > Steve Mills Me: 952-401-6255 > Senior Software Architect MultiAd > smills@multiad.com www.multi-ad.com > > > _______________________________________________ > Tiff mailing list: Tiff@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/tiff > http://www.remotesensing.org/libtiff/ |
|||||||