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 2016/10/05 06:46:21 UTC

[jira] [Commented] (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=15547859#comment-15547859 ] 

Tilman Hausherr commented on PDFBOX-3523:
-----------------------------------------

Please show the PDF, the old and the new code segment and explain what files you get that are "5 times bigger". Because "slower" I might believe, but not "bigger".

> 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
>
> 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.3.4#6332)

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