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)

Reply via email to