AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2022.07.18 22:50 "[Tiff] libtiff v4.4.0 vs 4.2.0: different tag values for the same file", by Abhi Baruah
2022.07.18 22:56 "Re: [Tiff] libtiff v4.4.0 vs 4.2.0: different tag values for the same file", by Bob Friesenhahn
2022.07.18 22:59 "Re: [Tiff] libtiff v4.4.0 vs 4.2.0: different tag values for the same file", by Even Rouault
2022.07.19 02:55 "Re: [Tiff] libtiff v4.4.0 vs 4.2.0: different tag values for the same file", by Abhi Baruah
2022.07.19 05:41 "Re: [Tiff] libtiff v4.4.0 vs 4.2.0: different tag values for the same file", by Roger Leigh

2022.07.18 22:50 "[Tiff] libtiff v4.4.0 vs 4.2.0: different tag values for the same file", by Abhi Baruah

Hello,

I have a piece of libtiff code which returns different results on the same files in libtiff v4.2.0 and v4.4.0. This behavior can be seen only in Windows, and I could not reproduce it in Linux.

For the tiff file 'chunky_StripSize_1024_Log.tif',

For the other tiff file 'chunky_StripSize_1024_Uint8.tif',

I am also attaching the cpp code, which might help to understand the issue better.

The tiff files and the source file are accessible at the following link: [?Folder icon] libtiff v4.4.0 bug<https://mathworks-my.sharepoint.com/:f:/p/abaruah/Ehf9-dYeLgpPranXOPEqdAoBhjolxsxR5oKF9umbnonw9g?e=uhCp1x>

Can someone confirm if this is expected change of behavior in v4.4.0, or a bug in the code?

Let me know if you need any other information from me.

Thanks,
Abhi Baruah
The MathWorks, Inc.