[ https://issues.apache.org/jira/browse/PDFBOX-5581?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17704430#comment-17704430 ]
Tilman Hausherr edited comment on PDFBOX-5581 at 3/24/23 3:27 AM: ------------------------------------------------------------------ I ran PDFToImage of 2.0.27 with and without subsampling, and I barely see a difference. And that one is expected, subsampled means a slight quality loss if I zoom the result image. If this is a problem, then don't use it. It only makes sense if you're displaying huge images. was (Author: tilman): I ran PDFToImage of 2.0.27 with and without subsampling, and I barely see a difference. And that one is expected, subsampled means a slight quality loss if I zoom the result image !test-sub-subsampled.jpg! compared to !test-sub-notsubsampled.jpg! . If this is a problem, then don't use it. It only makes sense if you're displaying huge images. > renderer.setSubsamplingAllowed(true) causing the picture to blur > ---------------------------------------------------------------- > > Key: PDFBOX-5581 > URL: https://issues.apache.org/jira/browse/PDFBOX-5581 > Project: PDFBox > Issue Type: Improvement > Affects Versions: 2.0.27 > Reporter: liu > Priority: Major > Attachments: screenshot-1.png, screenshot-2.png, > test-sub-notsubsampled.jpg, test-sub-subsampled.jpg, test.pdf > > > !screenshot-1.png! > renderer.setSubsamplingAllowed(true) causing the picture to blur. > This causes the following words to be obscured. > hi!Is there a way to customize the getSubsampling method?like this. > I want to display the original image within the specified width and height > !screenshot-2.png! -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org