[ https://issues.apache.org/jira/browse/PDFBOX-5657?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17876632#comment-17876632 ]
Tilman Hausherr edited comment on PDFBOX-5657 at 8/26/24 8:53 AM: ------------------------------------------------------------------ This related issue https://github.com/mozilla/pdf.js/issues/11306 won't look better because there's an exception in the JPEG2000 decoder, see https://github.com/jai-imageio/jai-imageio-jpeg2000/issues/9 was (Author: tilman): This related issue https://github.com/mozilla/pdf.js/issues/11306 won't look better because there's an exception in the JPEG2000 decoder. > SMaskInData not supported for JPX images > ---------------------------------------- > > Key: PDFBOX-5657 > URL: https://issues.apache.org/jira/browse/PDFBOX-5657 > Project: PDFBox > Issue Type: Bug > Components: Rendering > Affects Versions: 2.0.29, 3.0.0 PDFBox, 4.0.0 > Reporter: Tilman Hausherr > Assignee: Tilman Hausherr > Priority: Major > Labels: JPEG2000, JPXDecode, JPXFilter > Fix For: 2.0.33, 3.0.4 PDFBox, 4.0.0 > > Attachments: PDFJS-16782-SMaskInData.pdf > > > JPX images can have transparency information and not only we don't support > that, but the images look broken. > For now, lets just return the opaque image until there's a good idea what to > do. Maybe we have to return the mask in the DecodeResult. -- 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