I'm trying to save a canvas image to the web page server, so a php script can post it to a web api. I've been looking around and all I see is saving it in the users web browser, any help for a newbie?
Asked
Active
Viewed 203 times
1 Answers
0
You can extract the contents of the canvas as a data url using the toDataURL method, and then upload this to your server using an AJAX POST.
The accepted answer to this question should give you some help.