2022.05.21 19:37 "[Tiff] How to read JPEG-compressed YCbCr TIFFs", by L. E. Segovia

2022.06.10 20:37 "Re: [Tiff] How to read JPEG-compressed YCbCr TIFFs", by Bob Friesenhahn

That implies a conversion to RGB. We need the fully decoded, uncompressed YCbCr data, hence why I've been investigating how to make it happen.

That would mean that you would need to learn the sampling factors used for the JPEG, retrieve the uncompressed strips (or maybe compressed is necessary?) from libtiff, and then figure out how to decode it based on the sampling factors. I assume it is possible.

Please let me know when I you figure out how since I am interested. :-)

In libtiff there is tools/rgb2ycbcr.c, which seems to be test code for testing writing YCbCr files. It claims to support JPEG.

Bob

Bob Friesenhahn
bfriesen@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer, http://www.GraphicsMagick.org/
Public Key, http://www.simplesystems.org/users/bfriesen/public-key.txt