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

PDF.JS 1.0.712 has rendering problems with some of the images #5474

Closed
ghost opened this issue Nov 5, 2014 · 3 comments
Closed

PDF.JS 1.0.712 has rendering problems with some of the images #5474

ghost opened this issue Nov 5, 2014 · 3 comments

Comments

@ghost
Copy link

ghost commented Nov 5, 2014

We can see the following errors logged on the console:

PDF 3150e0a1d8394017d774f6613bb75273 [1.3 Acrobat Distiller 4.0 for Macintosh / -](PDF.js: 1.0.712)
viewer.js (line 3579)
Warning: Dependent image isn't ready yet
pdf.js (line 235)
2
Warning: Unable to decode image: TypeError: this.colorSpace.fillRgb is not a function
pdf.worker.js (line 235)
Warning: Dependent image isn't ready yet

and you can visually see in the rendered PDF that some of the images are not shown. Downgrading back to 1.0.473 makes the problem go away.

This behaviour was consistent across each of IE11, Chrome 38, FF33

This PDF is one example that reproduces it ( http://www.developsense.com/articles/2003-05-AreYouReady.pdf ) note that the construction sign is missing on the first page when opened in 1.0.712 but is fine in 1.0.473

1.0.712:
latest

1.0.473:
prior

@timvandermeij
Copy link
Contributor

Looks fine to me in 1.0.940. I recall that there have been fixes for this previously. Could you open the file with https://mozilla.github.io/pdf.js/web/viewer.html (the latest version of the viewer; use the Open File button in the toolbar) and see if the issue remains?

@ghost
Copy link
Author

ghost commented Nov 5, 2014

It looks fine to me in 1.0.940. I also tried downloading the beta 1.0.907 and that works too. Looks like the stable 1.0.712 is the only one doing it.

@Snuffleupagus
Copy link
Collaborator

This is a duplicate of issue #5270, which was a regression from PR #5165.
It was fixed in PR #5276, hence I'm closing this issue as fixed.

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

No branches or pull requests

2 participants