-
Notifications
You must be signed in to change notification settings - Fork 10k
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
[Bug]: JPX image rendering regression after PR 18204 #18896
Labels
Comments
Snuffleupagus
added
regression
image-jpx
image-conversion
release-blocker
Blocker for the upcoming release
labels
Oct 13, 2024
calixteman
added a commit
to calixteman/pdf.js
that referenced
this issue
Oct 14, 2024
Here's a slightly simplified pdf: I just removed the layers: |
calixteman
added a commit
to calixteman/pdf.js
that referenced
this issue
Oct 14, 2024
calixteman
added a commit
to calixteman/pdf.js
that referenced
this issue
Oct 14, 2024
calixteman
added a commit
to calixteman/pdf.js
that referenced
this issue
Oct 14, 2024
jollaitbot
pushed a commit
to sailfishos-mirror/poppler
that referenced
this issue
Nov 11, 2024
Handle transparent JPX images, they may contain RGBA data when no ColorSpace pdf dict is defined or when SMaskInData is non-zero. PDF files posted in below issues are fixed by this commit: https://gitlab.freedesktop.org/poppler/poppler/-/issues/1486 mozilla/pdf.js#16782 mozilla/pdf.js#11306 mozilla/pdf.js#17416 Inspired by related fix in pdf.js: mozilla/pdf.js#18204 While working on this commit we also succesfully addressed regressions that emerged for the following files: mozilla/pdf.js#18896 https://bugs.freedesktop.org/attachment.cgi?id=49294 Issue #1486
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Attach (recommended) or Link to PDF file
https://sbc.org.pl/Content/403918/PDF/539_2671.pdf
Web browser and its version
N/A
Operating system and its version
N/A
PDF.js version
Any version after #18204
Is the bug present in the latest PDF.js version?
Yes
Is a browser extension
No
Steps to reproduce the problem
Load the linked PDF document in the viewer.
What is the expected behavior?
That the image is correctly rendered.
What went wrong?
The image doesn't render, with the following console output:
Link to a viewer
No response
Additional context
Please note: The PDF document renders a bit slow, given the large images, however that's already tracked in #17427.
/cc @calixteman
The text was updated successfully, but these errors were encountered: