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

2017.11.21 15:08 "Re: [Tiff] Write a tif with JPG compression", by Kemp Watson

You will first need to make sure that you have built your libtiff library with libjpeg support.

That¹s the most likely culprit :)

W. Kemp Watson

kemp@objectivepathology.com

Objective Pathology Services Limited

8250 Lawson Road
Milton, Ontario
Canada L9T 5C6

www.objectivepathology.com
tel. +1 (416) 970-7284

From: <tiff-bounces@lists.maptools.org> on behalf of Emmanuel Cosnard <emmanuel.cosnard@outlook.fr>

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?