AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

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

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

Sorry, my bad. Working correctly :)

On Mon, Oct 17, 2016 at 11:23 PM, Aaron Boxer <boxerab@gmail.com> wrote:

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.