
Thread
2004.10.08 16:40 "[Tiff] TIFFReadEncodedStrip - unforgiving", by Chris Losinger
v3.6.1 is refusing to read some G3-compressed images in my test suite that have premature EOLs.
the problem seems to be that in 3.5.7, TIFFReadEncodedStrip treated the return value from the tif->tif_decodestrip function as a boolean (fail on 0, pass otherwise). and, the return code from fax decoder was -1. so, it always passed - and this was a good thing, since apparently many fax encoders create TIFFs with premature EOLs.
but now, in 3.6.1, TIFFReadEncodedStrip tests for return > 0, which means it errors-out on fax images (and, presumably other types, too) that it previously passed.
-c
__________________________
Chris Losinger
Smaller Animals Software, Inc.
http://www.smalleranimals.com