mozilla / pdf.js

PDF Reader in JavaScript
https://mozilla.github.io/pdf.js/
Apache License 2.0
48.34k stars 9.97k forks source link

PDF with embedded JPEG2000 displays blank with Warning: Unable to decode image: JpxError: JPX error: Unsupported COD options (predictableTermination #11004

Closed ReubenChapman closed 3 years ago

ReubenChapman commented 5 years ago

Attach (recommended) or Link to PDF file here:

Configuration:

Steps to reproduce the problem:

  1. Load sample file in any PDF.js viewer (FireFox)

What is the expected behavior? (add screenshot) PDF should be viewable as per Adobe acrobat

What went wrong? (add screenshot) Displays blank blank_in_firefox

Seems there are JPEG2000 images in here which are not supported because we see this error in the logs: Warning: Unable to decode image: JpxError: JPX error: Unsupported COD options (predictableTermination)

Link to a viewer (if hosted on a site other than mozilla.github.io/pdf.js or as Firefox/Chrome extension):

erasmus76 commented 5 years ago

Sample doc: problem.pdf