mozilla / pdf.js

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

Missing image in PDF #14830

Open dexeonify opened 2 years ago

dexeonify commented 2 years ago

Attach (recommended) or Link to PDF file here: extracted_page.pdf

Configuration:

Steps to reproduce the problem:

  1. Open the PDF with the built-in pdf.js in Firefox OR Open the PDF at https://mozilla.github.io/pdf.js/web/viewer.html in Edge
  2. The trees image is missing.

What is the expected behavior? (add screenshot) Adobe Acrobat: Acrobat

What went wrong? (add screenshot) PDF.js in both Firefox and Edge: PDF.js

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

rootsli commented 2 years ago

The same problem was found in my project, especially the scanned images。

ChadiHamrouni commented 2 years ago

The problem doesn't seem to have a relationship with the type of the image being rendered since I was able to display different types of images in one file to test it.

ASHIK5261 commented 1 year ago

is there any solution for this?