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 16:09:00 UTC
[jira] [Closed] (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:all-tabpanel ]
Tilman Hausherr closed PDFBOX-3523.
-----------------------------------
Resolution: Won't Fix
I thought about it this morning and I decided not to change anything because 1) the lack of feedback indicates that it isn't important at all, 2) if poor quality and fast rendering are needed, use 1.8, or use 2.0 at 72 dpi and scale up.
If you still need it, then please come up with an argument why you need poor rendering at a high resolution.
> 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