>>>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.
OffThere is no place like [::1]