pdfbox-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tilman Hausherr (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (PDFBOX-2050) Add predictor to LZW filter
Date Thu, 01 May 2014 14:02:14 GMT

    [ https://issues.apache.org/jira/browse/PDFBOX-2050?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13986556#comment-13986556

Tilman Hausherr edited comment on PDFBOX-2050 at 5/1/14 2:01 PM:

LZW predictor handling added in rev 1591650 for the trunk and rev 1591666 for the 1.8 branch.

was (Author: tilman):
Done in rev 1591650 for the trunk.

> Add predictor to LZW filter
> ---------------------------
>                 Key: PDFBOX-2050
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-2050
>             Project: PDFBox
>          Issue Type: Bug
>    Affects Versions: 1.8.4, 1.8.5, 2.0.0
>            Reporter: Tilman Hausherr
>            Assignee: Tilman Hausherr
>            Priority: Minor
>              Labels: LZW
> 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.

This message was sent by Atlassian JIRA

View raw message