2005.12.05 14:38 "[Tiff] Incorrect rendering of tif-images by libtiff 3.7.2", by Tobias Hilbricht

2005.12.05 15:59 "Re: [Tiff] Incorrect rendering of tif-images by libtiff 3.7.2", by Andrey Kiselev

On 12/5/05, Tobias Hilbricht <hilbricht@linopus.de> wrote:

currently I am trying Pixel, an image manipulation application by Pavel Kanzelsberger (http://www.kanzelsberger.com) available for all major platforms.

I exported a Pixel image as a tiff-image using that application; you can see the file at http://www.linopus.de/debian/pixeltest.tif

As Joris noted that is broken TIFF, it is not compliant with TIFF specification in several ways. libtiff has heuristics to restore broken StripByteCounts tag which works in some cases, but does not work in all possible cases of wrong byte counts. I have implemented a workaround for your case, but I am not sure I did the right thing. People want to read their broken files, but do not want (or do not able) to complain against the broken software producing such images (if the file works with Photoshop, it should be correct file!).

By the way, I am suspect that particular software has not only wrong TIFF writer, but wrong TIFF reader too, otherwise this problem can not be leaved unnoted.

Best regards,


Andrey V. Kiselev
ICQ# 26871517