1999.10.21 21:41 "Bad TIFF or library problem?", by Kevin D. Quitt

1999.10.22 10:47 "Re: Bad TIFF or library problem?", by Frank D. Cringle

Sorry if this is a duplication - I don't see my first letter, 24 hours later.

No dupes received here (yet).

ftp://ftp.quitt.net/tiff/print.tif

ACDSee shows it as blank, as does Graphic Workshop. PaintShop Pro 5 shows the intended image.

>From libTIFF:

TIFFFillStrip: print.tif: Read error at scanline 4294967295; got 25297 bytes, expected 25487.

scanline -1? Hmmm.

SubFileType (254) LONG (4) 1<0>

Minor error. Although this is the only image in the file, it claims to be "a reduced-resolution version of another image in this TIFF file".

StripByteCounts (279) LONG (4) 1<25487>

The strip is in fact only 25297 long. It's at the end of the file and there are only that many bytes left. 25487-25297 = 190, which happens to be the stripoffset less the 8-byte header. The image is displayed fine by viewfax after fixing the byte count with a hex editor. The original file is misshandled by viewfax - it detects the error and exits, but doesn't produce any error message.

Frank Cringle,      fdc@cliwe.ping.de
voice: (+49 2304) 467101; fax: 943357