Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
JSON string
Message
From
26/02/2014 04:31:49
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
 
 
To
26/02/2014 04:22:04
General information
Forum:
Javascript
Category:
Other
Title:
Miscellaneous
Thread ID:
01595222
Message ID:
01595335
Views:
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

Hm the data looks like
point of origin
move to coordinate (iow. draw line to)
....

try to play around with the gdi+ interface (for a start you may paint on _SCREEN
_SCREEN.LINE does the trick. :) )
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Previous
Reply
Map
View

Click here to load this message in the networking platform