Uploaded image for project: 'PDFBox'
  1. PDFBox
  2. PDFBOX-2228

LZW EarlyChange parameter isn't supported

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.8.6, 1.8.7, 2.0.0
    • Fix Version/s: 1.8.6, 1.8.7, 2.0.0
    • Component/s: Parsing
    • Labels:

      Description

      The image in the attached PDF can't be decoded (IndexOutOfBoundsException), The reason is that the EarlyChange decode param is set to 0:

      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.

        Attachments

          Activity

            People

            • Assignee:
              tilman Tilman Hausherr
              Reporter:
              tilman Tilman Hausherr
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: