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.06 21:36 "Re: [Tiff] error reading linearRaw subIFD from a TIFF file with libtiff built with libjpeg-turbo?", by DRC

In libjpeg-turbo 3.0.x, JSAMPLE is always 8-bit. You have to use J12SAMPLE for 12-bit and J16SAMPLE for 16-bit. GraphicsMagick still appears to be using libjpeg. The code below would not work with libjpeg-turbo 3.0.x.