You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are having an issue where a small % of signatures collected are coming out corrupted.
Our code is:
var pic = $sigdiv.jSignature("getData", "image");
app.trigger('extif:saveSignatureFile', 'rngNameOfFile', pic[1]);
extif:saveSignatureFile then writes that data to the device as a file
We then call $sigdiv.jSignature("getData", "svg"); to get the svg version and use that to send to the server to be added to the pdf file.
Both the image file and the pdf are showing the corrupted image.
The trigger of this code is on a button click after the signature has been captured.
We are running the app on Samsung tab 10 Android 7.0 devices.
Samples of image files:
The text was updated successfully, but these errors were encountered:
This looks like the SVG data is being saved to image as individual points, instead of as the bezier (I presume) curves which are defined by those points. Inspect the results of getData and pass them into an SVG validator to see if the corruption is happening during extraction or during the save process.
Can you isolate the devices experiencing the issue and see if they happen to have a different drawing SDK, or anything else needed in the extif:saveSignatureFile implementation?
Thanks for a great component.
We are having an issue where a small % of signatures collected are coming out corrupted.
Our code is:
var pic = $sigdiv.jSignature("getData", "image");
app.trigger('extif:saveSignatureFile', 'rngNameOfFile', pic[1]);
extif:saveSignatureFile then writes that data to the device as a file
We then call $sigdiv.jSignature("getData", "svg"); to get the svg version and use that to send to the server to be added to the pdf file.
Both the image file and the pdf are showing the corrupted image.
The trigger of this code is on a button click after the signature has been captured.
We are running the app on Samsung tab 10 Android 7.0 devices.
Samples of image files:
The text was updated successfully, but these errors were encountered: