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

Add predictor to LZW filter

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.8.4, 1.8.5, 2.0.0
    • 1.8.6, 2.0.0
    • None

    Description

      According to the PDF spec "LZW and Flate Predictor Functions", both can have post processing with predictors. It is implemented for Flate but not for LZW. I am adding this by using the existing code from the Flate filter, which I will be moving into a helper class.

      While looking at the Flate filter, I noticed that its footprint is higher than needed, i.e. there is too much buffering. I will test this separately and commit only if I can measure an improvement.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: