pdf-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [pdf-devel] Bug in LZW filter?


From: Juan Pedro Bolívar Puente
Subject: Re: [pdf-devel] Bug in LZW filter?
Date: Thu, 27 Oct 2011 11:59:47 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.21) Gecko/20110831 Icedove/3.1.13

Hi guys,

> this is also caused by the 1)3)2)-order (see my earlier mail). The
> regular algorithm resets the dictionary before adding entry 4097. It
> outputs a code that we output after reset. With +1 the output gets right.
> 
> But don't we miss a dictionary entry? (last one in old dict (#4097),
> that should be in the new dict) Maybe this is a bug.

I am following your conversation and I must admit I do not understand
the need for these changes nor the precise nature of this 1-2-3/1-3-2
problem. It was too long ago that I implemented that code... I will try
to find some time re-read the standard and the code.

Do you have also test cases that fail without the changes and succeed
otherwise?

JP






reply via email to

[Prev in Thread] Current Thread [Next in Thread]