Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
JSON string
Message
De
26/02/2014 05:18:47
 
 
À
26/02/2014 04:22:04
Information générale
Forum:
Javascript
Catégorie:
Autre
Titre:
Divers
Thread ID:
01595222
Message ID:
01595338
Vues:
31
>>>I'm using http://thomasjbradley.ca/lab/signature-pad/ to collect a signature on a handheld device.
>>>
>>>This returns string of co-ordinates like this
>>>
>>>[{"lx":21,"ly":16,"mx":21,"my":15}
>>>
>>>Any ideas how can I turn that string into an image file in classic asp file.
>>>
>>>Thanks
>>>
>>>Nick
>>
>>Their docs for usage from Javascript seem to cover this, assuming you need to do this client side. From the server I'd probably just create a COM component in .NET and use their C# code - that should be callable from classic ASP
>>
>>http://thomasjbradley.ca/lab/signature-pad/#regenerate-js
>
>Thanks Paul.
>
>I'm a little outside my comfort zone on this .
>
>At the moment I'm storing the string in a aql database and wasn't sure whether to create images and store them or decode it on demand.
>
>I can't find an example of a form with the canvas and dropping the string into it. I'll keep looking :-)
>
>nick


I created yougotadoodle.com which can record a signature on a touchscreen and render it anywhere.

You could see the javascript by looking at the source.

Code for the server is also open sourced, look for yougotadoodleserver on github.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform