2020.12.01 20:44 "[Tiff] Question about difference in TIFFReadEncodedStrip behavior between libtiff versions", by Nalini Vishnoi

2020.12.08 15:27 "Re: [Tiff] Question about difference in TIFFReadEncodedStrip behavior between libtiff versions", by Even Rouault

I encountered a difference in behavior of "TIFFReadEncodedStrip" function between v4.0.0 and v4.0.10 when reading a 25MB TIFF file. Please note the file has a single strip as an image.

I understand that a lot of code changes have been made to this function between these two library versions, however, in the older version 4.0.0, I am able to read the file but with the newer version 4.0.10, I get an error:

The change of behaviour was due to a commit between 4.0.8 and 4.0.9. Your TIFF file is badly broken regarding StripByteCount and StripOffsets content. You must consider you lucky that libtiff managed to read it.

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