Duo_Liang submitted June 5 2023

OneSpan Sign utilizes a unique encoding technique that converts hand-drawn images into base64 strings. However, these strings are not directly compatible with HTML or CSS, and similarly, base64 strings produced by other converters are unsuitable for uploading as a hand-drawn value.

The shared code in this document includes conversion tools that can effectively transform images into a base64 string that the OneSpan Sign system can interpret. We've provided these tools in several programming languages, including Java, .NET, Javascript and PHP, for your convenience. This resource also incorporates a selection of test images and illustrative usage examples.

The resulting hand-drawn value generated by this tool can be uploaded for either senders or signers as per your requirements.

Rate this Code Share

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