[
https://issues.apache.org/jira/browse/PDFBOX-5091?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17273071#comment-17273071
]
Tilman Hausherr commented on PDFBOX-5091:
-----------------------------------------
The current version is 2.0.22. Please try that one. If it is still slow, maybe
it is because of rendering quality improvements we did. Try playing with
{{PDFRenderer.setImageDownscalingOptimizationThreshold()}}, this can disable
them. Or play with the rendering hints.
> Performance issue when saving PDF to image after upgrading from PDFBox 2.0.20
> to 2.0.21
> ---------------------------------------------------------------------------------------
>
> Key: PDFBOX-5091
> URL: https://issues.apache.org/jira/browse/PDFBOX-5091
> Project: PDFBox
> Issue Type: Bug
> Environment: JDK 8 on Windows10
> Reporter: Volker Ullmann
> Priority: Minor
> Attachments: single_page.pdf
>
>
> We use PDFBox to save the first page of a PDF as an image to provide a
> preview of the document. These PDFs can be relatively complex as they may
> contain ten thousands of objects, especially map data. The results are still
> fine, but when we upgraded from 2.0.20 to 2.0.21 we had a notable performance
> decrease. Saving the first page of the attached sample document now takes
> nearly 20 sec on my developer machine, compared to 4 sec with 2.0.20.
>
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]