AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2000.11.30 06:27 "Problem with CCITT Group 4 file", by Stefan Schulz
2000.11.30 12:52 "Re: Problem with CCITT Group 4 file", by Frank D. Cringle
2000.11.30 21:23 "Re: Problem with CCITT Group 4 file", by Peter Skarpetis
2000.12.01 10:07 "AW: Problem with CCITT Group 4 file", by Klaus Bartz
2000.12.01 12:40 "Re: Problem with CCITT Group 4 file", by Stefan Schulz

2000.12.01 10:07 "AW: Problem with CCITT Group 4 file", by Klaus Bartz

I've got the file from Stefan.

It's not a libtiff bug, it's a buggy file.

In it there is simple a wrong 8 byte to short StripByteCount ( may be at computing the programm has forgotten the 8 bytes of the file header ). The "strip loader" of libtiff fails in line -1 (before decoding the first line ), if it cannot load the referenced size.

The question is, should libtiff be able to handle such a buggy file, or not? The old question. What of the nice ideas of programmers should be tolerated, what not.

Klaus