2024.02.05 19:49 "[Tiff] error reading linearRaw subIFD from a TIFF file with libtiff built with libjpeg-turbo?", by Ellen Johnson

2024.02.05 21:42 "Re: [Tiff] error reading linearRaw subIFD from a TIFF file with libtiff built with libjpeg-turbo?", by Bob Friesenhahn

  1. I didn't do anything special when configuring libtiff v4.6.0 to build with libjpeg-turbo, other than to make sure I saw the "dual mode" configuration specification – if I remember correctly when I built libtiff v4.6.0, when it looked for libjpeg-turbo it made sure some dual mode configuration was set to enable 8- and 12-bit modes. Is there a config setting I might have missed that enables working with 16-bit images?

It seems that "dual mode" is still "dual mode". I have not personally tested with 16-bit JPEG in TIFF images. It seems likely that it is not supported.

See the change notes at https://libtiff.gitlab.io/libtiff/releases/v4.5.0.html

"autoconf/cmake: detect (not yet released) libjpeg-turbo 2.2 to take
into its capability of handling both 8-bit JPEG and 12-bit JPEG in a
single build."

I have also not specifically tested GraphicsMagick with 8/12/16 bit JPEG (outside of TIFF) with the new libjpeg-turbo, although someone told me that it was "working". It seems I should test it for myself.

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