[
https://issues.apache.org/jira/browse/PDFBOX-5581?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17704439#comment-17704439
]
liu edited comment on PDFBOX-5581 at 3/24/23 3:40 AM:
------------------------------------------------------
If I can customize the getSubsampling method, this problem can be solved by
ourselves.
Based on my usage scenario, if the width*height is smaller than the specified
size, the original image will be displayed directly.
!screenshot-2.png!
was (Author: JIRAUSER297279):
If I can customize the getSubsampling method, this problem can be solved by
ourselves
!screenshot-2.png!
> 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, screenshot-3.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: [email protected]
For additional commands, e-mail: [email protected]