Please give a brief summary of your issue:
I have a use case where one doc can have multiple Signature widgets in different pages. When I fill the signature fields (with same signature image) using doc viewer and generate XFDF out of it, I see imagedata is replicated for each Stamp annotation (one for each Signature widget) thereby increasing the size of the XFDF. Is there a way to keep single imagedata element with base64 or image and map it to all Stamp annotation as the signature is same for all the Signature widgets. This will help reduce the size of the XFDF.
The reason I need it because I can generate the XFDF with filled form fields and pass it to backend for further processing.
Please describe your issue and provide steps to reproduce it:
(The more descriptive your answer, the faster we are able to help you)
Please provide a link to a minimal sample where the issue is reproducible:
Currently no, there is no optimization around this, mainly as it is a pretty uncommon use case.
Signature widgets in different pages.
Are these actual signature fields? Or Stamp annotations?
When I fill the signature fields (with same signature image)
So you are not doing full cryptographic signing then, just a visual signing?
Could you just send the image back to your server, and do the merging there? On the backend, with the full PDFNet SDK you can re-use the image for all the signatures.