AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

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

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

What should I expect to be get from a call to TIFFReadScanline when the TIFFTAG_PHOTOMETRIC tag is PHOTOMETRIC_YCBCR? It appears that we're getting rgb, but in the wrong channel order (should be rgb, but is bgr or vise versa). I only have one test document that is supposed to be solid red. It's coming out blue. I don't know how the file was made or how to make another one, otherwise I'd use a file with more colors so I knew for sure what was going on.

_________________________________________________________
Steve Mills Me: 952-401-6255
Senior Software Architect MultiAd
smills@multiad.com www.multi-ad.com