[ https://issues.apache.org/jira/browse/PDFBOX-4928?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17169789#comment-17169789 ]
Christian Appl commented on PDFBOX-4928: ---------------------------------------- !image-2020-08-03-09-43-37-412.png! > 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 > Attachments: image-2020-08-03-09-43-37-412.png, prescaled.png, > unprescaled.png > > > 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