Hand-drawn signature - Differences in the user experience
Monday, May 22, 2023 at 08:01amHello,
I have successfully tested the hand-drawn signature value via the REST API. However, I have noticed some differences in the user experience when using a base64 string directly derived from a hand-drawn value compared to a base64 string derived from a signature image file using the import tool.
Scenario 1:
I retrieved the base64 string from a signature image file using the import tool. I updated the package with this value. During the signing process, the image does not fill up immediately. However, after the signing process is complete and the document is saved, the image becomes visible. This user experience is not ideal, as the user cannot see the image being used at the time of signing.
Scenario 2:
I manually created a package in the sandbox. I set the Signature type to "Capture Signature" and drew the signature at the time of signing. I retrieved the base64 string from this package and used it to update other packages. This approach works as desired because the image correctly fills up during the signing process, allowing the user to see the image.
Could you please provide guidance on what needs to be done to make scenario 1 work effectively? Our customers will be uploading their signatures, and we want to ensure a smooth experience for them.
Reply to: Hand-drawn signature - Differences in the user experience
Tuesday, May 23, 2023 at 09:27amHi kay,
Thanks for your post! I can reproduce the same and somehow I believe the issue is related to the release 11.51 - if I use the same base64 string in production environment (11.50) , the handdrawn signature can be previewed before confirming.
I would like to fill in a support ticket on your behalf and will let you know when there's any update.
Duo
Reply to: Hand-drawn signature - Differences in the user experience
Wednesday, May 24, 2023 at 10:23amHi Duo!
Thank you for addressing my inquiry. I have a follow-up question regarding acceptable file formats for the signature image. Could you kindly provide confirmation?
Reply to: Hand-drawn signature - Differences in the user experience
Wednesday, May 24, 2023 at 10:35amHi Kay,
Which programing language are you using? For Java version import tool, internally it uses below line to read image file as a buffered image:
BufferedImage sourceImage = ImageIO.read(new File(path));
As per this Oracle doc (https://docs.oracle.com/javase/tutorial/2d/images/loadimage.html), Image I/O has built-in support for GIF, PNG, JPEG, BMP, and WBMP.
Duo
Reply to: Hand-drawn signature - Differences in the user experience
Monday, June 5, 2023 at 03:21pmHi Kay,
I have updated the conversion tools hosted in our Community to make it work with release 11.51 front end render engine. Please try to upgrade your utility jar:
https://community.onespan.com/documentation/onespan-sign/codeshare/signature-conversion-tools-java-net-javascript
Duo