mozilla / pdf.js

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

Colors not displayed correctly #13520

Open gautamvishant opened 3 years ago

gautamvishant commented 3 years ago

2021MEN-TEST-1 Graphics 8 June 2021.pdf Attach (recommended) or Link to PDF file here:

Configuration:

Steps to reproduce the problem:

  1. Open attached PDF in latest PDF.js (see the view)

  2. Open the attached PDF in Adobe Reader or Chrome inbuilt viewer. (see the difference)

What is the expected behavior? (add screenshot) chrome_view adobe_view

What went wrong? (add screenshot) pdfjs_view

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

gautamvishant commented 3 years ago

Hello, Can anyone let me know how to fix this, what is root cause for this (I was going through the PDF, what i found is there are two transparency groups having Luminosity soft mask, for one of the mask output is correct and wrong for other one)