AWARE [SYSTEMS]
AWare Systems, , Home TIFF and LibTiff Mailing List Archive

LibTiff Mailing List

TIFF and LibTiff Mailing List Archive
October 1999

Previous Thread
Next Thread

Previous by Thread
Next by Thread

Previous by Date
Next by Date

Contact

The TIFF Mailing List Homepage
Archive maintained by AWare Systems



New Datamatrix section



Valid HTML 4.01!



Thread

1999.10.21 21:41 "Bad TIFF or library problem?", by Kevin D Quitt
1999.10.22 06:18 "Re: Bad TIFF or library problem?", by Peter Nielsen
1999.10.22 07:06 "Re: Bad TIFF or library problem?", by Klaus Bartz
1999.10.22 10:47 "Re: Bad TIFF or library problem?", by Frank D Cringle

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

"Kevin D. Quitt" <Kevin@Quitt.net> writes:
> 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