2003.08.05 01:55 "[Tiff] Problem decompressing LZW Tiffs", by Frank Warmerdam
John,
Andrey is digging into this problem already. Andrey, what is the bug number in Bugzilla? I can't seem to find it. libtiff 3.6.0 final will not be released without this being fixed, in the meantime you might be wise to regress tif_lzw.c. My changelog entry for the offending "fix" reads:
* libtiff/tif_lzw.c: fixed so that decoder state isn't allocated till
LZWSetupDecode(). Needed to read LZW files in "r+" mode.
So, as long as you are opening the file only in read mode, and not "r+" mode you should be ok with the regressed version.
Best regards,
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up | Frank Warmerdam, warmerdam@pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush | Geospatial Programmer for Rent