mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-08 09:20:06 +02:00
[Editor] Support svg images in the stamp annotation
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.
This commit is contained in:
parent
eb2527e9d7
commit
4fcc2ef23f
7 changed files with 285 additions and 14 deletions
|
@ -33,6 +33,7 @@ async function runTests(results) {
|
|||
"freetext_editor_spec.js",
|
||||
"ink_editor_spec.js",
|
||||
"scripting_spec.js",
|
||||
"stamp_editor_spec.js",
|
||||
],
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue