THausherr commented on pull request #121:
URL: https://github.com/apache/pdfbox/pull/121#issuecomment-867872283


   I tested this one with the Alpha file (page 5) and all my files. Rendering 
of the Alfa file is definitively much faster. I intend to remove the 
"interpolate" block from scaleImage because the effect is almost invisible (but 
I would leave a comment). I did not have any difference in the rendering tests 
(done at 96 dpi), I tried at 300 dpi where I did a visual test and saw only 
meaningless differences, but it is a bit slower (with interpolation).
   
   Is there a reason that you'd like to keep that block? (besides that the 
block was there before). It comes from PDFBOX-4218, where I had corrected 
previous code (PDFBOX-2750) that always interpolated. I retested the file 
PDFBOX-2750 and it always looks ok. Even when trying the "worst" interpolation 
I can't get a bad rendering of the file from PDFBOX-2750. I was wondering if 
java itself was improved, but no, when running an old version PDFBox the 
rendering was still bad. So there were other changes that improved the quality 
of the scaling.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to