brinley / jSignature

jQuery plugin for adding web signature functionality
http://www.unbolt.net/jSignature
689 stars 529 forks source link

Does the DotNet library work? #166

Open amendezcabrera opened 5 years ago

amendezcabrera commented 5 years ago

I am trying to convert a base30 string from jSignature to an image using the dotNet library from the extras folder and it doesn't work, the generated image doesn't has almost nothing to do with the original one. I created a question in StackOverflow. Trying the same with the PHP library from the same folder it does work nicely.
Any help would be appreciated.

amendezcabrera commented 5 years ago

The problem was with the Culture when formatting the String in the library to convert to SVG, I fixed it by adding CultureInfo.InvariantCulture at the start of them:

String.Format(CultureInfo.InvariantCulture,..)

brinley commented 5 years ago

Thanks, any change you can send a PR?

amendezcabrera commented 5 years ago

I sent you 2 PR. One fixing the String Culture bug and another one adding the conversion to VB.NET of the C# library,