[
https://issues.apache.org/jira/browse/PDFBOX-6190?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18072180#comment-18072180
]
Tilman Hausherr commented on PDFBOX-6190:
-----------------------------------------
{quote}The attached file 2026.png is the image output after enabling image
subsampling in version 3.0.7 (pdfRenderer.setSubsamplingAllowed(true)). The
corresponding PDF file 20260323094632(1) (1).pdf outputs normally in version
2.0.28 (pdfRenderer.setSubsamplingAllowed(true)).
{quote}
Sadly the problem happens in 2.0.28 too. I can reproduce it with PDFDebugger by
activating subsampling and setting zoom at 150% or 200%.
Your issue looks like a duplicate of PDFBOX-5597. I'll try to find a solution
or to deactivate subsampling for certain conditions.
> pdfbox从2.0.28升级到3.0.2,同样开启pdfRenderer.setSubsamplingAllowed(true);高版本转换文件会乱码
> ----------------------------------------------------------------------------
>
> Key: PDFBOX-6190
> URL: https://issues.apache.org/jira/browse/PDFBOX-6190
> Project: PDFBox
> Issue Type: Bug
> Components: Rendering
> Affects Versions: 2.0.36, 3.0.7 PDFBox
> Reporter: 李家宝
> Priority: Major
> Labels: jbig2, subsampling
> Attachments: 2026.png, 20260323094632(1) (1).pdf
>
>
> 附件2026.png是高版本3.0.7开启图像子扫描
> pdfRenderer.setSubsamplingAllowed(true)之后附件20260323094632(1) (1).pdf转出来图片的效果,
> 对应pdf文件20260323094632(1) (1).pdf在低版本2.0.28开启图像子扫描转出来一切正常
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]