-
Notifications
You must be signed in to change notification settings - Fork 9.9k
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 Displaying not displaying properly #8245
Comments
This is not related to #8083, that one was about patterns with giant steps. Here there's no pattern, only a very small image that is extremely blown up. |
This was a small image (10x10 pixel) for a quick example. It happens with bigger more complicated images also. |
Here's another. That one has inline images with 1 bit /DeviceGray. |
Sample open as intended in Goggle Chrome. |
I have it blurry on chrome when using https://mozilla.github.io/pdf.js/web/viewer.html . |
It is down to the imageSmoothingEnabled property being enabled by default CanvasRenderingContext2D.imageSmoothingEnabled |
Created a JSFiddle to demostrate Demo |
Maybe it is related to #3331 (blurry lines), I have deduced the same conclusion on that bug. |
How can I get this fixed? |
… 1722191) While some of the output looks worse to my eye, this behavior more closely matches what I see when I open the PDFs in Adobe acrobat. Fixes: mozilla#4706, mozilla#9713, mozilla#8245, mozilla#1344
… 1722191) While some of the output looks worse to my eye, this behavior more closely matches what I see when I open the PDFs in Adobe acrobat. Fixes: mozilla#4706, mozilla#9713, mozilla#8245, mozilla#1344
… 1722191) While some of the output looks worse to my eye, this behavior more closely matches what I see when I open the PDFs in Adobe acrobat. Fixes: mozilla#4706, mozilla#9713, mozilla#8245, mozilla#1344
Link to PDF file (or attach file here):
document.pdf
Configuration:
Web browser and its version: Firefox 52.0.2 (32-bit)
Operating system and its version: Windows 10
PDF.js version: Using version bundled with Firefox
Steps to reproduce the problem:
Similar Issue Unrecognisable Blurry Image #8083
What is the expected behavior? (add screenshot)
Adobe Reader correctly shows the image and isn't blurry. PDF.js does not. See screenshots for comparison.
What went wrong? (add screenshot)
The image in the PDF is an Indexed xobject. not sure if this is the issue.
The text was updated successfully, but these errors were encountered: