You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tilman Hausherr (JIRA)" <ji...@apache.org> on 2014/07/20 08:46:38 UTC

[jira] [Created] (PDFBOX-2228) LZW EarlyChange parameter isn't supported

Tilman Hausherr created PDFBOX-2228:
---------------------------------------

             Summary: LZW EarlyChange parameter isn't supported
                 Key: PDFBOX-2228
                 URL: https://issues.apache.org/jira/browse/PDFBOX-2228
             Project: PDFBox
          Issue Type: Bug
          Components: Parsing
    Affects Versions: 1.8.6, 1.8.7, 2.0.0
            Reporter: Tilman Hausherr
            Assignee: Tilman Hausherr
             Fix For: 1.8.7, 2.0.0, 1.8.6
         Attachments: PDFBOX-2228.pdf

The image in the attached PDF can't be decoded (IndexOutOfBoundsException), The reason is that the EarlyChange decode param is set to 0:
{quote}
An indication of when to increase the code length. If the value of this entry is 0, code length increases are postponed as long as possible. If the value is 1, code length increases occur one code early. This parameter is included because LZW sample code distributed by some vendors increases the code length one code earlier than necessary. Default value: 1.
{quote}



--
This message was sent by Atlassian JIRA
(v6.2#6252)