-
Notifications
You must be signed in to change notification settings - Fork 10k
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
Rendering PDF which include PNG with transparent background (SVG renderer) #11811
Comments
That's probably not likely to happen any time soon (or even at all), considering that the SVG back-end is inherently slower (given the huge amount of DOM elements it creates) and also that it requires more memory than the default |
Yes, for now the SVG back-end is an experimental alternative, but not ready for production use yet. Nevertheless, thank you for reporting issues since it will help to improve it! |
I'm also looking for a solution for this |
First off all, Great job on the SVG renderer. Can't wait to use it in production. We are testing the PDF's in our system and in the latest version most PDF are rendered correctly as SVG. There are a couple of bugs that I want to address and post as issues here.
Attach (recommended) or Link to PDF file here:
I attached the svg as txt because of the github upload restrictions.
[page.txt] (https://github.com/mozilla/pdf.js/files/4481179/page.txt)
[ton_page8.pdf] (https://github.com/mozilla/pdf.js/files/4481193/ton_page8.pdf)
Configuration:
Steps to reproduce the problem:
Use the PDF above in the SVG renderer and you will see that the top image are being rendered with a black background. In the original it has transparent background.
The text was updated successfully, but these errors were encountered: