mobomo/sketch.js

Send Image in HTML form

Opened this issue · 1 comments

Hello,

How I can send the image through an HTML form? Ie within a form, draw and send (upload) the image on the form.

Thank you.

You can transform the draw into base64 data, store it in a hidden input and send along with your form. On the server side, you can do what your want with that data: store it raw, create a new image from the data, and so on.