2016.10.18 03:23 "[Tiff] Creating TIFF file with zip compression", by Aaron Boxer

2016.10.18 03:23 "[Tiff] Creating TIFF file with zip compression", by Aaron Boxer

Hello,

I have added zip support to my libtiff build.

When creating a TIFF image, I add the following line:

    TIFFSetField(tif, TIFFTAG_COMPRESSION, COMPRESSION_ADOBE_DEFLATE); //
zip compression

but the image is not compressed using zip compression.

If, on the other hand, I set compression to PackBits, then it does work.

Any thoughts on why I am unable to create with zip?

These are 8 bit RGB images.

Thanks,

Aaron