I have an small drawing application made in processing.js. I would like to save the image made using the application to a server using a php file (no problem on this). I know th
perhaps
var image = document.getElementsByTagName("canvas")[0].toDataURL();