Replies: 3 comments 6 replies
-
I believe you can implement such a feature using the annotation serialization API - see https://pdfviewer.net/extended-pdf-viewer/export-annotations. But if you're asking me for details - I don't know. The API I've made available is an internal, undocumented API of pdf.js. Among other things, this means it may break with the next version (and this happened in the past). This, in turn, means I'm reluctant to implement advanced features using this internal API. However, as long as you know what you're doing, go for it. It may help to read the source code of the stamp editor: https://github.com/stephanrauh/pdf.js/blob/bleeding-edge/src/display/editor/stamp.js |
Beta Was this translation helpful? Give feedback.
-
If you get an answer please add it here. I'm also trying to do the same but with no luck. Should I manage to get something I will also add it |
Beta Was this translation helpful? Give feedback.
-
It should work in passing a URL into the constructor in using the property |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I want to use Stamp Editor, but I don't want to upload an image from my device. Instead, I want it to pass a specific image when clicked.
How do this?
this my code
Beta Was this translation helpful? Give feedback.
All reactions