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

diplay wrong background color #13938

Closed
startxc opened this issue Aug 27, 2021 · 3 comments
Closed

diplay wrong background color #13938

startxc opened this issue Aug 27, 2021 · 3 comments
Labels

Comments

@startxc
Copy link

startxc commented Aug 27, 2021

test.pdf

Configuration:

  • Web browser and its version: Firefox 91.0.2
  • Operating system and its version: win10
  • PDF.js version: 2.9.359
  • Is a browser extension:

Steps to reproduce the problem:

  1. download https://github.com/mozilla/pdf.js/releases/download/v2.9.359/pdfjs-2.9.359-dist.zip
  2. modify defalutUrl to my pdf file.

What is the expected behavior? (add screenshot)
1

What went wrong? (add screenshot)
2

@startxc
Copy link
Author

startxc commented Sep 9, 2021

@timvandermeij Hi, How is it going.

@janpe2
Copy link
Contributor

janpe2 commented Sep 19, 2021

The background is a shading that has an ICCBased color space. PDF.js replaces it with DeviceRGB and gray becomes too dark. Possibly a duplicate of #2856

@Snuffleupagus
Copy link
Collaborator

Duplicate of #2856

@Snuffleupagus Snuffleupagus marked this as a duplicate of #2856 Sep 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants