brinley / jSignature

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

alpha30 to SVG .net #34

Closed ektorasd closed 11 years ago

ektorasd commented 11 years ago

Hi, I am trying to convert the alpha30 image to SVG image using the .Net library.But the svg output has nothing to do with the import...

This is the code in Vb: Dim p As New jSignature.Tools.Base30Converter Dim a As New jSignature.Tools.SVGConverter

    Dim s As String = ""
    Dim im As String = "8N000111236599acdfbd885446547679bdccfgloomica63133546c8_2E657848420Z236847542100Y235568a9a872Z168cbdd7410Y2998833Z13"
    s = a.ToSVG(p.GetData(im)) 

Am I missing something?

brinley commented 11 years ago

Sorry for the late response. But as the doc says there is no functionality for importing SVG back to jSignature. You can use the SVG as is in your application. Consider using other formats if for some reason you want that signature to be editable.

ektorasd commented 11 years ago

Hi Brandley,

I dint want to edit the signature , i want to store it as alpha30 and then send it by email. So i am using your library to concert it to svg

----- Reply message ----- Από: "Brinley Ang" notifications@github.com Προς: "brinley/jSignature" jSignature@noreply.github.com Κοιν.: "ektorasd" ektorasd@orian.gr Θέμα: [jSignature] alpha30 to SVG .net (#34) Ημ/νία: Κυρ, Αυγ 4, 2013 07:59 Sorry for the late response. But as the doc says there is no functionality for importing SVG back to jSignature. You can use the SVG as is in your application. Consider using other formats if for some reason you want that signature to be editable.

— Reply to this email directly or view it on GitHub.

brinley commented 11 years ago

So in your code, doesn't

s = a.ToSVG(p.GetData(im))

give you a string with the svg data which you can embed in a html output for your email?

ektorasd commented 11 years ago

Hi Brinley,

The result that it gives me has nothing to do with the original signature

Στις 4/8/2013 12:54 μμ, ο/η Brinley Ang έγραψε:

So in your code, doesn't

s = a.ToSVG(p.GetData(im))

give you a string with the svg data which you can embed in a html output for your email?

— Reply to this email directly or view it on GitHub https://github.com/brinley/jSignature/issues/34#issuecomment-22069287.

brinley commented 11 years ago

Have you verified that the base30 string in your database is correct?

On Mon, Aug 5, 2013 at 2:41 AM, ektorasd notifications@github.com wrote:

Hi Brinley,

The result that it gives me has nothing to do with the original signature

Óôéò 4/8/2013 12:54 ìì, ï/ç Brinley Ang Ýãñáøå:

So in your code, doesn't

s = a.ToSVG(p.GetData(im))

give you a string with the svg data which you can embed in a html output for your email?

Reply to this email directly or view it on GitHub https://github.com/brinley/jSignature/issues/34#issuecomment-22069287.

Reply to this email directly or view it on GitHubhttps://github.com/brinley/jSignature/issues/34#issuecomment-22096034 .