[
https://issues.apache.org/jira/browse/PDFBOX-4827?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17104682#comment-17104682
]
Tilman Hausherr commented on PDFBOX-4827:
-----------------------------------------
Use the two-parameter {{renderImage()}} method. The second parameter is the
scale. 1 is the default and is 72 dpi, 4 is 288 dpi which is usually pretty
good. So I suggest you start with scale 4, and in a later step you increase
when zooming (note that rendering may become slower with higher resolutions).
Re "it's my first experience as developper", you've chosen some pretty advanced
stuff.
> Blurry Imageview after zooming
> ------------------------------
>
> Key: PDFBOX-4827
> URL: https://issues.apache.org/jira/browse/PDFBOX-4827
> Project: PDFBox
> Issue Type: Improvement
> Components: Rendering
> Affects Versions: 2.0.19
> Reporter: Napster89
> Priority: Major
> Labels: blurry, iamgeview, performance, zoom
> Fix For: 2.0.19
>
> Attachments: Controller.java, File.PDF, Main.java, PdfModel.java,
> ui.fxml
>
>
> Hello
> I have a pdf viewer using pdfbox 2.0.19 and i would like to zoom in, my
> problem is that the image is blurry after the zoom, dispite the good
> resolution of pdf file, and also my code works good with jpg,png etc...
> files, the blurry image is only with a pdf files.
> This is my codes, i will be very grateful, if someone gives me some
> clarification
> best regards[^File.PDF]
> [^File.PDF]
> [^ui.fxml]
> [^Controller.java]
> [^PdfModel.java]
> [^Main.java]
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]