Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JPEG2000 image is rendering blank #1266

Open
ceTeDevelopment opened this issue Jul 15, 2020 · 2 comments
Open

JPEG2000 image is rendering blank #1266

ceTeDevelopment opened this issue Jul 15, 2020 · 2 comments

Comments

@ceTeDevelopment
Copy link

Issue originally found in a PDF

Attached PDF contains a JPEG 2000 image (JPXDecode filter), which is rendering blank when renderred using PDFium.
Test.pdf.
This has also been reported to Chromium:
https://bugs.chromium.org/p/pdfium/issues/detail?id=1559

Issue image is also tested as JPEG2000 file.

We have extracted the image from the PDF (Expected.jp2 in attached zip)
Expected.zip
This file as been tested with IrfanView v4.53 as well as Corel Paint Shop Pro 2019. It is being shown as expected in both applications.

@rouault
Copy link
Collaborator

rouault commented Jul 15, 2020

This is the same as #715. The codestream is truncated compared to the size advertized in the Psot field of the SOT marker segment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
@rouault @ceTeDevelopment and others