kay | Posts: 2

Hand-drawn signature - Differences in the user experience

0 votes

Hello,

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.


Duo_Liang | Posts: 3776

Reply to: Hand-drawn signature - Differences in the user experience

0 votes

Hi 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


kay | Posts: 2

Reply to: Hand-drawn signature - Differences in the user experience

0 votes

Hi 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?


Duo_Liang | Posts: 3776

Reply to: Hand-drawn signature - Differences in the user experience

0 votes

Hi 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

 


Duo_Liang | Posts: 3776

Reply to: Hand-drawn signature - Differences in the user experience

0 votes

Hi 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


Hello! Looks like you're enjoying the discussion, but haven't signed up for an account.

When you create an account, we remember exactly what you've read, so you always come right back where you left off