2020.02.10 23:23 "[Tiff] recommended way to support a different compression", by Kris Fedorenko

2020.02.11 17:37 "Re: [Tiff] recommended way to support a different compression", by Kris Fedorenko

Hi Leonard,

Thanks for responding! Yes, as I understand, for the 1st method I would need to add an entry to the _TIFFBuiltinCODECS array and follow the rest of the steps outlined in the link<http://www.simplesystems.org/libtiff/internals.html#AddingCODECS> to properly add the new codec to libtiff, and for the 2nd method I would need to use the TIFFRegisterCODEC function. Is there anything else you mean by registering?

I am interested in being able to read TIFF files with some IFDs having a custom compression that is not currently supported by libtiff. Is it an uncommon problem? I am able to do decoding on the data I get from TIFFReadRawTile, but adding a codec seems like a better solution.

Thanks,

Kris