You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tilman Hausherr (JIRA)" <ji...@apache.org> on 2017/06/16 05:08:00 UTC
[jira] [Comment Edited] (PDFBOX-3523) PDFBox renders images 5 times
slower and bigger
[ https://issues.apache.org/jira/browse/PDFBOX-3523?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16051375#comment-16051375 ]
Tilman Hausherr edited comment on PDFBOX-3523 at 6/16/17 5:07 AM:
------------------------------------------------------------------
audrey.pdf = file by Esteban R. from the mailing list. The effect can be seen when rendering the file at 400% in PDFDebugger, or by running PDFToImage at 96 or 120 dpi.
was (Author: tilman):
audrey.pdf = file by Esteban R. from the mailing list
> PDFBox renders images 5 times slower and bigger
> -----------------------------------------------
>
> Key: PDFBOX-3523
> URL: https://issues.apache.org/jira/browse/PDFBOX-3523
> Project: PDFBox
> Issue Type: Improvement
> Affects Versions: 2.0.3
> Environment: Java version 1.8
> Ubuntu Linux&Windows 10
> Reporter: Vasiliy Sadokhin
> Labels: performance
> Attachments: audrey.pdf, OldPdfUtils.java, old_test.png, PDFBOX-2302-mori-cvpr01.pdf-7.png, PDFBOX-2302-mori-cvpr01.pdf-7-with-change.png, PdfUtils.java, sigice9_172.Adobe.pdf-1.png, sigice9_172.Adobe.pdf-1-with-change.png, test.pdf, test.png
>
>
> We recently migrated PDFBox from 1.8.13 to 2.0.3. We found that it becomes 5 times slower to get a PDF page image and the image is 5 times bigger than PDFBox 1.8 did. For example, It took about 200ms and now it takes more than 1 second, the result size was less 200Kb and it's 1Mb now.
> We specified BufferedImage.TYPE_3BYTE_BGR for PDFBox 1.8 and we have no way to do it with 2.x. It might be a reason.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org