You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
but one of the main issues is images within PDF files:
I had investigated using something like:
filter:invert(85%);
which actually looks decent BUT the problem comes when the PDF has images. The images end up with inverted colors. I can't add a CSS rule for them because they're in the canvas element.
What I think is needed is a high level way to change the colors of the PDF itself.
We need to support both dark and sepia modes as these are needed to be up to par with other PDF viewers as a large number of users prefer them.
It MAY be that pdf.js already supports this but I can't find how to enable it.
This is different from theming the readder as people using just the renderer lib directly via API should be able to support this too.
The text was updated successfully, but these errors were encountered:
(This is a feature request so not sure the but template applies here)
We need a way to be able to set the document colors.
There are a few related bugs
#3528
but one of the main issues is images within PDF files:
I had investigated using something like:
which actually looks decent BUT the problem comes when the PDF has images. The images end up with inverted colors. I can't add a CSS rule for them because they're in the
canvas
element.What I think is needed is a high level way to change the colors of the PDF itself.
We need to support both dark and sepia modes as these are needed to be up to par with other PDF viewers as a large number of users prefer them.
It MAY be that pdf.js already supports this but I can't find how to enable it.
This is different from theming the readder as people using just the renderer lib directly via API should be able to support this too.
The text was updated successfully, but these errors were encountered: