mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-13 19:55:35 +02:00
createImageBitmap doesn't work with svg files (see bug 1841972), so we need to workaround this in using an Image. When printing/saving we must rasterize the image, hence we get the biggest bitmap as image reference to avoid duplications or poor quality on rendering.
1 line
10 KiB
XML
Executable file
1 line
10 KiB
XML
Executable file