I am working on a mobile application(ionic) where there is a field for user's signature. Users needs to sign with their finger in canvas.
Now this application has web version, where they used topaz sigweb to do this. Now to save signature and to view in both ends i need some kind of conversion.
I checked sigweb's documentation, they save the signature in ASCHII hex format. I am not sure if they are using any kind of internal encryption or not because i can not convert the hex string to any valid base 64.
I am not sure if there are any other way to do that. If anyone has any idea please share.
Thanks in advance.
I realise this is a bit old but I'm sure there are plenty of others with the same issue.
I had exactly the same issues when I needed to display the signatures to end users in a standard desktop or mobile browser with no plug-ins or installs required. Spoke to Topaz and there is a an option to run the ActiveX on the server side using the PHP Component Object Model to create the image. Unfortunately, this only works on a Windows server and takes a lot of fiddling with. I only managed to get it working on my test bench and it was useless for my linux production servers. I contacted Topaz again and they said the ONLY other option was a Java applet!?
ActiveX! Java Applets! It's 2019, not 2009! (Sorry, I overdosed on exclamation marks there but Jeez).
In the end I decided to try and decode it myself and eventually came up with this PHP function to create an SVG. The format they use is proprietary (and is actually a bit of a hacky mess) but essentially it is only hex, coordinates and stroke lengths - so it should be easy enough for someone to convert the below to any other platform.