jSignature icon indicating copy to clipboard operation
jSignature copied to clipboard

Does the DotNet library work?

Open amendezcabrera opened this issue 5 years ago • 3 comments

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 avatar May 24 '19 15:05 amendezcabrera

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,..)

amendezcabrera avatar May 28 '19 15:05 amendezcabrera

Thanks, any change you can send a PR?

brinley avatar May 29 '19 01:05 brinley

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

amendezcabrera avatar May 29 '19 07:05 amendezcabrera