AWARE [SYSTEMS] Imaging expertise for the Delphi developer
AWare Systems, Imaging expertise for the Delphi developer, Home TIFF and LibTiff Mailing List Archive

LibTiff Mailing List

TIFF and LibTiff Mailing List Archive
July 2017

Previous Thread
Next Thread

Previous by Thread
Next by Thread

Previous by Date
Next by Date

Contact

The TIFF Mailing List Homepage
This list is run by Frank Warmerdam
Archive maintained by AWare Systems



Valid HTML 4.01!



Thread

2017.07.11 06:03 "LZW read errors in recent TIFF releases", by Larry Gritz
2017.07.11 09:21 "Re: LZW read errors in recent TIFF releases", by Even Rouault
2017.07.11 17:51 "Re: LZW read errors in recent TIFF releases", by Larry Gritz

2017.07.11 06:03 "LZW read errors in recent TIFF releases", by Larry Gritz

Has anybody noticed that with the last minor release or two, when reading
the libtiff example image quad-lzw.tif, there are read errors like this:

    Not enough data at scanline 0 (short 1536 bytes)

It's not just my software -- trying to 'tiffcp' the file results in:

    LZWPreDecode: Warning, Old-style LZW codes, convert file.
    LZWDecodeCompat: Warning, LZWDecode: Strip 0 not terminated with EOI
    code.
    LZWDecodeCompat: Not enough data at scanline 0 (short 7680 bytes).
    libtiffpic/quad-lzw.tif: Error, can't read strip 0.

It's on MacOS that I noticed this. Haven't tested other platforms yet.

Does this ring any bells? Anybody have any insight?

But also, thinking that maybe I have a wildly old example file ("old-style",
as it said), I tried to re-download the collection of example images from
ftp://download.osgeo.org/libtiff/pics-3.8.0.tar.gz

But the link fails. Maybe during the recent web site fiasco, this got lost
in the shuffle?

--
Larry Gritz
lg@larrygritz.com