| AWARE [SYSTEMS] | Imaging expertise for the Delphi developer | |||||||
![]() |
TIFF and LibTiff Mailing List Archive | |||||||
LibTiff Mailing List
TIFF and LibTiff Mailing List Archive Contact
The TIFF Mailing List Homepage |
Thread1996.12.02 19:18 "Re: lzw bug?", by Sam Leffler To: tiff@sgi.com
Subject: lzw bug?
Date: Mon, 02 Dec 1996 09:38:11 PST
From: Campanel <campanel@wrc.xerox.com>
Sam,
We, as I am sure with many others, have been using the TIFF library
for years. A while ago, I installed ver3.4beta035, compiled it on a
SPARC20 running Solaris 2.4 with SUNPRO C4.0 compiler. For the most
part everything works. The image always comes through. But for every
line that is read I get the message:
LZWDecode: Bogus encoding, loop in the code table; scanline xxx
.
.
.
If I write the file with rowsperstrip equal to 1, no problem. Anything
else is a problem. I have tried it on SunOS and get the same thing.
Rather that use my api's into the library I used the tiffcp utility and
get the same problem. Any idea why?
The above message means there is a loop in the LZW-encoded data; this
should not happen (especially if the data is generated by my library).
I've only ever seen this problem on corrupted date and some images
generated by a certain PC-based app. Without a way to reproduce your
problem there's not much otherwise that I can say.
Sam
|
|||||||