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

Tilman Hausherr commented on PDFBOX-3530:
-----------------------------------------

Please try this. I don't know if it is faster. Surprisingly, the result file is 
smaller (641KB) than the one from qpdf (4MB).

> WriteDecodedDoc slow due to decoding images
> -------------------------------------------
>
>                 Key: PDFBOX-3530
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-3530
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Parsing
>    Affects Versions: 2.0.3
>            Reporter: simon steiner
>
> PDF from PDFBOX-323
> time qpdf --stream-data=uncompress About\ Stacks.pdf /tmp/out.pdf
> real  0m0.200s
> user  0m0.020s
> sys   0m0.180s
> time java -jar pdf-box-svn/app/target/pdfbox-app-2.1.0-SNAPSHOT.jar 
> WriteDecodedDoc About\ Stacks.pdf /tmp/out.pdf
> real  0m1.536s
> user  0m1.497s
> sys   0m0.798s



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org

Reply via email to