AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2016.10.25 20:02 "[Tiff] problem adding YRESOLUTION and RESOLUTIONUNIT to 16bit grayscale TIFF", by Paul Hemmer
2016.10.27 15:55 "Re: [Tiff] problem adding YRESOLUTION and RESOLUTIONUNIT to 16bit grayscale TIFF", by Paul Hemmer
2016.10.27 16:08 "Re: [Tiff] problem_adding_YRESOLUTION_and_RESOLUTIONUNIT_to _16bit grayscale_TIFF", by Even Rouault
2016.12.13 14:42 "[Tiff] WinAPI, save screenshot into tiff", by
2016.12.13 15:18 "Re: [Tiff] WinAPI, save screenshot into tiff", by Paavo Helde

2016.10.27 16:08 "Re: [Tiff] problem_adding_YRESOLUTION_and_RESOLUTIONUNIT_to _16bit grayscale_TIFF", by Even Rouault

Le jeudi 27 octobre 2016 17:55:55, Paul Hemmer a écrit:

My colleague helped in tracing the problem to a bug in the libtiff code, and to help any future searchers, I'll post his findings below that solved the problem. I can't seem to tell if anybody actively maintains this library anymore?

The issue is in tif_dirwrite.c, part of libtiff. It exists in libtiff 3.8.0, 3.8.2;

Those are old versions of libtiff. The latest one is 4.0.6: http://www.simplesystems.org/libtiff/

I cannot find trace of the code you mention in that version, so I assume this has been fixed.

and bigtiff 4.1.

Perhaps you are refering to a fork of libtiff, since there's no 4.1 version yet in libtiff.

libtiff 4.0 or above incorporate bigtiff support.

--
Spatialys - Geospatial professional services
http://www.spatialys.com