2017.11.21 13:15 "[Tiff] Write a tif with JPG compression", by Emmanuel Cosnard

2017.11.21 13:15 "[Tiff] Write a tif with JPG compression", by Emmanuel Cosnard

Hello,

I am trying to create a TIF compressed with the jpeg compression (I do TIFFSetField(tiffOut, TIFFTAG_COMPRESSION, COMPRESSION_JPEG)).

Then when I am writing the data of the image with TIFFWriteScanline, I get the warning message "JPEG compression support is not configured".

I am using libtiff version 3.8.2

Does anyone know if there is a way to compress tiff files with libtiff using the jpeg compression?

Thank you,

Emmanuel