[ 
https://issues.apache.org/jira/browse/PDFBOX-4698?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16985163#comment-16985163
 ] 

Tilman Hausherr edited comment on PDFBOX-4698 at 11/29/19 7:37 PM:
-------------------------------------------------------------------

If you want a higher resolution then do {{pr.renderImage (0, 4f)}}. See the 
javadoc for why.

The one from PDFBox is of good quality if you use the latest java 8, or at 
least 192. Early java 8 versions were pretty bad. If you can't update, then 
you'll have to live with the bugs. (And the security holes that may put your 
client at risk)

To see the difference, run PDFDebugger on your "old" machine, and on a machine 
with a newer jdk8 version, or with Amazon Corretto 8.


was (Author: tilman):
If you want a higher resolution then do {{pr.renderImage (0, 4f)}}. See the 
javadoc for why.

The one from PDFBox is of good quality if you use the latest java 8, or at 
least 192. Early java 8 versions were pretty bad. If you can't update, then 
you'll have to live with the bugs.

> Images are not rendering correctly when pdf is converted to image.
> ------------------------------------------------------------------
>
>                 Key: PDFBOX-4698
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-4698
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Rendering
>    Affects Versions: 2.0.17
>         Environment: Windows 7, 10
>            Reporter: Terry Clarke
>            Priority: Major
>         Attachments: JavaFX CSS Reference Guide (2).pdf, rendered image.PNG
>
>
> When trying to render a PDF page to an image, the image becomes distorted and 
> the colors are not correct see attachment. I have attached the PDF and a copy 
> of the image which was rendered. Try rendering page 7 of the PDF.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to