[
https://issues.apache.org/jira/browse/PDFBOX-2496?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14212054#comment-14212054
]
Maruan Sahyoun commented on PDFBOX-2496:
----------------------------------------
Changing the RenderingHints as described will reduce the quality of the image.
Obviously one has to trade quality for size. Are small files what you are
looking for?
Apart from that the image rendered by 2.0 has additional content which is
missing in the 1.8 version.
> PNG filesize is larger
> ----------------------
>
> Key: PDFBOX-2496
> URL: https://issues.apache.org/jira/browse/PDFBOX-2496
> Project: PDFBox
> Issue Type: Bug
> Components: Rendering
> Affects Versions: 2.0.0
> Reporter: simon steiner
> Fix For: 2.0.0
>
> Attachments: 18simple1.png, 20simple1.png, simple.pdf
>
>
> java -jar ~/pdf-box-svn/app/target/pdfbox-app-2.0.0-SNAPSHOT.jar PDFToImage
> -format png simple.pdf
> java -jar pdfbox/app/target/pdfbox-app-1.8.8-SNAPSHOT.jar PDFToImage
> -imageType png simple.pdf
> 2.0 is 656KB
> 1.8 is 402KB
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)