Take a look at fabric.js. It uses the HTML canvas tag and allows you to get the 
image as png or jpeg in base64. 
You can then use a JavaScript to place the image data value into a hidden input 
field. You can do that onsubmit in the WOform. Everything else is normal.  Just 
did this to capture signatures.  I can give you more info later today when I 
get home. 

... sent while out-n-about

> On Jun 17, 2014, at 12:41 PM, Calven Eggert <[email protected]> wrote:
> 
> Anyone know how to write a WO app to allow the user to draw in a browser, 
> capture the image and then use WO to store the image in a database?
> 
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list      ([email protected])
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/webobjects-dev/webobjects%40berkling.us
> 
> This email sent to [email protected]

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to