[ https://issues.apache.org/jira/browse/PDFBOX-4928?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17169482#comment-17169482 ]
Tilman Hausherr commented on PDFBOX-4928: ----------------------------------------- Maybe... I'd like to wait for the soon-to-come release, to see if there's any feedback. 2.0.20 didn't go very well, and I hope that 2.0.21 really solves these problems. Sadly most people don't test prior to release. If I understood you correctly that you'd like to set the threshold (that is now 0.5), what would be the purpose of this? Can you show some PDFs where the new results are not as good as 2.0.19 ? > Could the new rendering method of PageDrawer be optional? > --------------------------------------------------------- > > Key: PDFBOX-4928 > URL: https://issues.apache.org/jira/browse/PDFBOX-4928 > Project: PDFBox > Issue Type: Wish > Components: Rendering > Affects Versions: 2.0.20 > Reporter: Christian Appl > Priority: Major > > This relates to {color:#008dde}PDFBOX-4516, PDFBOX-4527, PDFBOX-4815, > PDFBOX-4886, PDFBOX-4863{color}{color:#008dde} > I have tested the new prescaled rendering method for the > {color}org.apache.pdfbox.rendering.{color:#008dde}PageDrawer > {color:#172b4d}with PDFBox:2.0.21-SNAPSHOT{color}{color} for different > images, with different resolutions, target image sizes etc. and compared the > results to our old expectations (pre 2.0.20). And I really like it! > > However it seems to depend on the person's subjective perception (atleast > for my tested images), whether I like the old or the new results better. When > asking my colleagues, I heard arguments for both sides. > > Therefore my question is: Could a RenderingHint be introduced to > disable/enable this separately and more intentionally, instead of assuming, > that the scaling method must always be applied for specific scaling factors? > This would allow users to select the scaling method according to their own > liking and needs. > > I can not really find a crystal clear, objective answer, whether the one or > the other is "better", therefore I would prefer being able to de/activate it > according to my own judgement. > As far as I understand, the criterion (scaleX < {color:#1750eb}0.5 {color}|| > {color:#000000}scaleY {color}< {color:#1750eb}0.5{color}) has been selected > rather arbitrarily.( ? ) > But what if I want to apply it even to images above those scaling factors? > What if I want to not apply it to images bellow those scaling factors? > What if I want to apply it to Image A, but not to Image C, for some unknown > reason? -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org