According to TIFF spec supplement 2 https://www.adobe.io/content/dam/udp/en/open/standards/tiff/TIFFphotoshop.pdf the tag value COMPRESSION_DEFLATE is not to be used when writing new files, but only to be supported for reading legacy ones. Writers should only use COMPRESSION_ADOBE_DEFLATE. These schemes are equivalent.
The Deflate compression also benefits from a predicition step, not only LZW.
Anonymous
It would also be nice to add suport for prediction (value 3) when writing compressed floating point TIFFs, but it seems this sample format information does not get to WriteCompression() currently?
Hi Milos,
Thanks for the patch, it is now in the SVN.
I have also added the suggestion for the PREDICTOR_FLOATINGPOINT TIFF predictor.
Hervé
Great, thanks Hervé.