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',
libtiff v4.4.0 returns the RowsPerStrip = 87, and NumberOfStrips = 12 for the 
3rd image file directory.

Libtiff v4.2.0 returns the RowsPerStrip = 1024, and NumberOfStrips = 1 for the 
same image file directory.



For the other tiff file 'chunky_StripSize_1024_Uint8.tif',
libtiff v4.4.0 returns the RowsPerStrip = 3, and NumberOfStrips = 334 for the 
3rd image file directory.

Libtiff v4.2.0 returns the RowsPerStrip = 1024, and NumberOfStrips = 1 for the 
same image file directory.

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.



_______________________________________________
Tiff mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/tiff

Reply via email to