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:35 "Re: [Tiff] error reading linearRaw subIFD from a TIFF file with libtiff built with libjpeg-turbo?", by Even Rouault

Hi,

16-bit (lossless) JPEG isn't supported by current libtiff. I guess it could by tweaking tif_jpeg.c

That said, 16-bit lossless JPEG doesn't shine by any aspect. You'd be much better using other lossy codecs. In GDAL we've experimented with JPEGXL. The codec is at https://github.com/OSGeo/gdal/blob/master/frmts/gtiff/tif_jxl.c. I'll probably try to upstream it once libjxl reaches its 1.0 milestone.

Even

http://www.spatialys.com
My software is free, but my time generally not.