2023.04.19 06:48 "[Tiff] Specific image fails with error at TIFFWriteRawStrip function(26659675)", by Ganesh Bondili

2023.04.19 06:48 "[Tiff] Specific image fails with error at TIFFWriteRawStrip function(26659675)", by Ganesh Bondili

Hi LibTIFF,

We have a customer who has an issue with a specific Image(Test.TIFF) as in the below Zip link. Below also is a Zip link that has CPP file which replicates error while writing first strip to output TIFF file using function("TIFFWriteRawStrip()"). The error is "Maximum TIFF file size exceeded".

https://drive.google.com/file/d/10XI2YM0ysY7Lq4mj8oRGKmQWCOBGEPFm/view?usp=sharing

The version of LibTIFF that we are using is 'LibTiff 4.5.0'

Can the input image Test.TIFF all strips be successfully written to output TIFF with the sample code given. What is the root-cause for error and is there a resolution from LibTIFF for successful write of all Strips/page wise. Is there any problem with input Test.TIFF image. Is there any fix in latest version of LibTIFF.

Regards,
Ganesh.
(26659675)

Ganesh Bondili
Principal Software Engineer

Kofax India Private Limited
V IT Park, Capella Building, Floor 6, Plot No. 17, Software Units Layout
Hyderabad, Madhapur 500081
India

Tel: +91 40 45459949
Fax: +91 40 45459922
Ganesh.Bondili@kofax.com