1999.10.14 00:48 "Bad G3 TIFF file or LIBTIFF bug?", by Sam Ohzawa

1999.10.14 00:48 "Bad G3 TIFF file or LIBTIFF bug?", by Sam Ohzawa

Our customer has brought in a G3 TIFF file that libtiff has trouble decoding. And I am stuck debugging through libtiff.

Could you take a look at the file?:

http://www.fastio.com/bad.tif

(66kb)

and determine what is at fault?

Actually, this is a 2-page TIFF file, and libtiff succeeds in decoding page 1, but fails on page 2.

For example, "tiffsplit bad.tif" shows the error:

TIFFReadRawStrip: bad.tif: Read error at scanline 4294967295; got 17843 bytes, expected 48213.

Tiffdump does not show anthing unusual about the tags.

This file is viewable correctly by "Imaging for Windows Preview" made by Kodak for Microsoft on Win98.

Many thanks.

Sam Ohzawa
FastIO Systems