[ https://issues.apache.org/jira/browse/PDFBOX-5597?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17769746#comment-17769746 ]
Tilman Hausherr commented on PDFBOX-5597: ----------------------------------------- I have an idea (but no time to implement it) but here it is: We need to create a test file that has a JPEG file of the same size as the JBIG2 files that are troublesome. Then attempt to render at the same scalings that are troublesome and see what happens. The cause of the problem is If the rendering succeeds, then the bug is in the jbig2 decoder. If the rendering fails, then the bug is in PDFBox. > The image drawn is garbled > -------------------------- > > Key: PDFBOX-5597 > URL: https://issues.apache.org/jira/browse/PDFBOX-5597 > Project: PDFBox > Issue Type: Bug > Reporter: liu > Priority: Major > Labels: jbig2, subsampling > Attachments: image0.jpg, image17.pdf, screenshot-1.png, > screenshot-2.png, screenshot-3.png, test.pdf, test6.pdf > > -- 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