AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

2020.08.03 09:11 "[Tiff] Fw: Problem converting tiff files with zip-compression", by Frans Bloemen

Hi, Even Rouault<mailto:even.rouault@spatialys.com> and Bob Friesenhahn<mailto:bfriesen@GraphicsMagick.org>.

We use LibTIFF 4.1.0, combined with zLib 1.2.11, for conversion of TIF files into other formats.

Like the subject says in short, we experience problems with zip-compression. Image b1.tif (no compression) succeeds, b1_zip.tif fails:

C:\Users\f.bloemen>C:\Source\libtiff\out\tools\Release\tiffcp.exe C:\Test\TestInputData\Bug3792\b1_zip.tif C:\Test\TestOutputData\Bug3792\b1_zip2.tif
ZIPSetupDecode:.
C:\Test\TestInputData\Bug3792\b1_zip.tif: Error, can't read strip 0.

C:\Users\f.bloemen>C:\Source\libtiff\out\tools\Release\tiff2bw.exe C:\Test\TestInputData\Bug3792\b1_zip.tif C:\Test\TestOutputData\Bug3792\b1_zip2.tif
ZIPSetupDecode:.

Can you please help in diagnosing the problem?

Kind regards,
Frans Bloemen
+31 6 21875400