I have one question related to Stamps uploading.
I add a stamp using
Upload dialod opens and I select one .jpg file (~10 MB)
I check newly added stamp using
instance.docViewer.on("annotationChanged", ...) => I check size of xfdf (which contains base64 of newly added image)
Using DOMParser I extract base64 string
Check → it weights significantly more then original size (~10 MB). It is more then 70MB
Is there a way to convert it to base64 without this size rise?
December 6, 2021, 10:03am
Hello, I’m Ron, an automated tech support bot
While you wait for one of our customer support representatives to get back to you, please check out some of these documentation pages:
We’re looking at this issue.
Do you face the issue with other. jpg files? I just tested and looks like the size should just increase ~30% after uploading. Also, could you provide the file you had issue with?
Did you try with large image?
Try with sth like that: sample-jpg-file-for-testing.jpg - Google Drive
I have just tried with the file you provided, but the size of XFDF is ~13MB. I was trying with our online sample here -
I forget to say, that I am using
@pdftron/webviewer - v.7.2.0
Could you check how it works for this version?
Since looks like it’s working in our latest version, we’d suggest you upgrading the WebViewer version you’re using. Thanks.