Hi Abhi,

You can disable strip-chopping at build time.

Alternatively, use the “c” option with TIFFOpen 
(TIFFOpen<http://libtiff.gitlab.io/libtiff/functions/TIFFOpen.html>).

If your code was already working correctly with strip-chopping disabled, it 
will continue to work correctly with either of the above approaches.

Kind regards,
Roger

From: Tiff <[email protected]> On Behalf Of Abhi Baruah
Sent: 19 July 2022 03:56
To: Even Rouault <[email protected]>; Bob Friesenhahn 
<[email protected]>
Cc: [email protected]
Subject: Re: [Tiff] libtiff v4.4.0 vs 4.2.0: different tag values for the same 
file

Thank you Bob and Even for getting back.

What is the recommended way to disable strip-chopping?
Can this be done by switching the ‘strip-chopping’ option in line 27 of 
LibraryFeatures.cmake<https://gitlab.com/libtiff/libtiff/-/blob/master/cmake/LibraryFeatures.cmake>
 to ‘OFF’?

Will there be any implications of turning off the strip chopping?
_______________________________________________
Tiff mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/tiff

Reply via email to