Christian Appl created PDFBOX-4928:
--------------------------------------

             Summary: 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


This relates to {color:#008dde}PDFBOX-4516, PDFBOX-4527, PDFBOX-4815, 
PDFBOX-4886, PDFBOX-4863
{color}{color:#008dde}{color:#172b4d}
I have tested the new prescaled rendering method for the 
{color}{color}{color:#000000}org.apache.pdfbox.rendering.{color}{color:#008dde}{color:#172b4d}PageDrawer
 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 ({color:#000000}scaleX {color}< 
{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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to