2012.04.24 16:26 "[Tiff] YCbCr/JPEG issue in 4.0.1", by John Evans

2012.05.02 09:51 "RE: [Tiff] YCbCr/JPEG issue in 4.0.1", by Charles Auer

> Date: Fri, 27 Apr 2012 19:07:29 +0200

> Subject: Re: [Tiff] YCbCr/JPEG issue in 4.0.1

In this case, LibTiff in particular auto-corrects the tag value so as to correctly reflect the JPEG marker, which does seem to be a good way to both read all legit files as well as a lot of files that are incorrect in this specific manner.

Joris: How can I find out at run-time if YCbCr Subsampling tag values have been auto-corrected? If I elect to do my own re-sampling and color conversion, then I need this information right after the first call to TIFFReadEncodedStrip or TIFFReadEncodedTile. One reason one might elect to do his own resampling and color conversion would be to read JPEG compressed images with planar configuration = 2, and there are a few of these images out there. Charles