[
https://issues.apache.org/jira/browse/PDFBOX-2750?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14491701#comment-14491701
]
Lars Torunski commented on PDFBOX-2750:
---------------------------------------
HINT: However, be aware that if you try to downscale an image by a factor of
more than two (i.e., the scaled instance is less than half the size of the
original), and you are using the BILINEAR or BICUBIC hint, the quality of the
scaled instance may not be as smooth as you might like. ... you can use a
multi-step approach when downscaling by more than two times; this helps prevent
the information loss issue and produces a much higher quality result ... The
basic idea here is to repeatedly scale the image by half (using BILINEAR
filtering), and then, once the target size is near, perform one final scaling
step to reach the target dimensions. ...
FROM:
https://today.java.net/pub/a/today/2007/04/03/perils-of-image-getscaledinstance.html
> Rendering in poor quality in 2.0 but not in 1.8.*
> -------------------------------------------------
>
> Key: PDFBOX-2750
> URL: https://issues.apache.org/jira/browse/PDFBOX-2750
> Project: PDFBox
> Issue Type: Bug
> Components: Rendering
> Affects Versions: 2.0.0
> Reporter: Tilman Hausherr
> Assignee: John Hewson
> Fix For: 2.0.0
>
> Attachments: PDFBOX-2750-1.8.jpg, PDFBOX-2750-2.0.jpg,
> PDFBOX-2750.patch, PDFBOX-2750.pdf
>
>
> The attached PDF is rendered in poor quality in 2.0, but not in 1.8.*
> (submitted by Vanja K. on the user mailing list).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]