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

Missing JPX images with no indication of a problem #15532

Closed
augustin opened this issue Oct 1, 2022 · 2 comments
Closed

Missing JPX images with no indication of a problem #15532

augustin opened this issue Oct 1, 2022 · 2 comments

Comments

@augustin
Copy link

augustin commented Oct 1, 2022

Attach (recommended) or Link to PDF file here: Liber Tertius at this page on IMSLP

Configuration:

  • Web browser and its version: Firefox 104.0.2
  • Operating system and its version: Windows 10
  • PDF.js version: 2.15.303
  • Is a browser extension: No

Steps to reproduce the problem:
Open the PDF. Most of the actual music will simply not appear (although strangely some of it does.)

This appears to thus be related to #5649, however there is notably no "Unsupported header type" or "Unsupported colorspace" errors in the console, just the "Out of packets" and "COD options" errors.

More worryingly: there is no indication anything has gone wrong. (Has the "this PDF may not be displayed correctly" banner been removed altogether...?) I would at least expect a warning rather than having to open the PDF in a totally different viewer to see that indeed there is nothing wrong with the PDF itself.

From the console:

PDF c19f6ea0a8667d40ab52376d7fabdf92 [1.6 Adobe Acrobat 8.1 / PScript5.dll Version 5.2.2] (PDF.js: 2.15.303) viewer.js:1531:13
Warning: JPX: Unsupported COD options (terminationOnEachCodingPass, verticallyStripe, predictableTermination). pdf.worker.js:1121:13
Warning: Unable to decode image "img_p2_2": "JpxError: JPX error: JPX error: Out of packets". pdf.worker.js:1121:13
Warning: JPX: Unsupported COD options (terminationOnEachCodingPass, verticallyStripe, predictableTermination). pdf.worker.js:1121:13
Warning: Unable to decode image "img_p2_3": "JpxError: JPX error: JPX error: Out of packets". pdf.worker.js:1121:13
Warning: JPX: Unsupported COD options (terminationOnEachCodingPass, verticallyStripe, predictableTermination). pdf.worker.js:1121:13
Warning: Unable to decode image "img_p2_4": "JpxError: JPX error: JPX error: Out of packets". pdf.worker.js:1121:13
Warning: Dependent image isn't ready yet 3 pdf.js:454:13
Warning: JPX: Unsupported COD options (terminationOnEachCodingPass, verticallyStripe, predictableTermination). pdf.worker.js:1121:13
Warning: Unable to decode image "img_p3_2": "JpxError: JPX error: JPX error: Out of packets". pdf.worker.js:1121:13
Warning: JPX: Unsupported COD options (terminationOnEachCodingPass, verticallyStripe, predictableTermination). pdf.worker.js:1121:13
Warning: Unable to decode image "img_p3_3": "JpxError: JPX error: JPX error: Out of packets". pdf.worker.js:1121:13
Warning: JPX: Unsupported COD options (terminationOnEachCodingPass, verticallyStripe, predictableTermination). pdf.worker.js:1121:13
Warning: Unable to decode image "img_p3_4": "JpxError: JPX error: JPX error: Out of packets". pdf.worker.js:1121:13
Warning: Dependent image isn't ready yet 3 pdf.js:454:13
Warning: JPX: Unsupported COD options (terminationOnEachCodingPass, verticallyStripe, predictableTermination). pdf.worker.js:1121:13
Warning: Unable to decode image "img_p4_2": "JpxError: JPX error: JPX error: Out of packets". pdf.worker.js:1121:13
Warning: JPX: Unsupported COD options (terminationOnEachCodingPass, verticallyStripe, predictableTermination). pdf.worker.js:1121:13
Warning: Unable to decode image "img_p4_3": "JpxError: JPX error: JPX error: Out of packets". pdf.worker.js:1121:13
Warning: JPX: Unsupported COD options (terminationOnEachCodingPass, verticallyStripe, predictableTermination). pdf.worker.js:1121:13
Warning: Unable to decode image "img_p4_4": "JpxError: JPX error: JPX error: Out of packets". pdf.worker.js:1121:13
Warning: JPX: Unsupported COD options (terminationOnEachCodingPass, verticallyStripe, predictableTermination). pdf.worker.js:1121:13
Warning: Unable to decode image "img_p4_5": "JpxError: JPX error: JPX error: Out of packets". pdf.worker.js:1121:13
Warning: Dependent image isn't ready yet
@Snuffleupagus
Copy link
Collaborator

Duplicate of #5649, since the errors look do identical to the ones in e.g. #5649 (comment).

Has the "this PDF may not be displayed correctly" banner been removed altogether...?

Yes, that was done some time ago; see https://bugzilla.mozilla.org/show_bug.cgi?id=1705327

@augustin
Copy link
Author

augustin commented Oct 1, 2022

Well, notably this one doesn't have "Unsupported header type" anywhere to be seen... but sure.

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

2 participants