[
https://issues.apache.org/jira/browse/PDFBOX-4078?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16374773#comment-16374773
]
Tilman Hausherr commented on PDFBOX-4078:
-----------------------------------------
I did some tracing to be sure that the rendering hints are properly set and yes
they are. There is some internet discussion about the quality of image resizing:
https://stackoverflow.com/questions/24745147/java-resize-image-without-losing-quality
https://web.archive.org/web/20080516181120/http://today.java.net/pub/a/today/2007/04/03/perils-of-image-getscaledinstance.html
http://www.gotoquiz.com/web-coding/programming/java-programming/resize-images-in-java-preserving-image-quality/
using one of these would require additional software and additional code, as
the tools I've seen don't draw with a transformation (which is what we do) but
rescale the image. One would have to analyse the transform to extract a fixed
scale, apply a good algorithm on the image, and then draw the scaled image with
the remaining part of the transform.
> different rendering on different scale
> --------------------------------------
>
> Key: PDFBOX-4078
> URL: https://issues.apache.org/jira/browse/PDFBOX-4078
> Project: PDFBox
> Issue Type: Bug
> Components: Rendering
> Affects Versions: 2.0.8
> Reporter: savan patel
> Priority: Major
> Attachments: Rendering_Issue.pdf
>
>
> i have attached a pdf... If i set scale 1 and render it then it renders very
> poorly but if i increase the scale then rendering becomes clear...
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]