2021.12.08 03:38 "[Tiff] Windows - difference in behavior when large RowsPerStrip is specified while writing Uncompressed vs LZW compressed TIFF file", by Nalini Vishnoi

2021.12.08 22:50 "Re: [Tiff] Windows - difference in behavior when large RowsPerStrip is specified while writing Uncompressed vs LZW compressed TIFF file", by Paavo

Hi Nalini,

Nowadays the main culprit for inconsistencies between Windows and Linux is the ‘long’ data type, which is 32-bit in 64-bit Windows (at least with MSVC) and 64-bit in Linux. Not sure if this is the case here or not.

Silent production of an invalid TIFF file would of course mean a bug which should be fixed. As others have explained, the fix might be an error return with “strip too large”.

Regardless of above, writing multi-gigabyte strips is not a good idea and should be avoided even if it worked.

Cheers

Paavo