-
Notifications
You must be signed in to change notification settings - Fork 10.1k
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
Image in PDF doesn't load #6967
Comments
I can confirm this using Windows 10 x64, Firefox 44.0 and the latest PDF.js development version. It's unfortunate that there are no console messages about this. |
Same behaviour on Linux Debian stretch (testing), FF 44 and trunk pdf.js version. No console logs. |
The images are decoded fine. You can observe this by doing the following in paintInlineImageXObject() in canvas.js
Seems to be an issue with how they're drawn. Quick look seems like the coordinates are messed up, but I'll have to look into it more later. |
Skipping the |
Looks like we are not handling AIS=false state properly. Switching mask off for this case helps the case. |
Can someone please fix this issue in pdf js. This issue has ruined our experience in an application that is in production. If we dont get a fix we will have to abandon pdf.js and move to a different product. I dont want to do that as I find pdf.js really simple in its UI and dependencies. |
For reference, some images at page 6-8-10-14 are still missing. |
This comment has been minimized.
This comment has been minimized.
The original PDF is an SMask problem, this PDF doesn't have them. I suspect a problem with the JPX decoder. Page 1 has a JPX image, most of the other pages have JBIG2 images which show. Page 11 and 15 have both types, and the JPX image doesn't show. I suggest you create a new issue with your file. |
Tested in both Chrome and Firefox. Image in page 10 of the attached PDF (labeled page 8 in the document) doesn't load.
The Chrome native viewer and Adobe Reader both load the image properly.
temp_portfolio658660046914130129 (1).pdf
The text was updated successfully, but these errors were encountered: