Is there any further development on this?
I have a similar challenge: I have a picture in a canvas which I like to upload to a server. I figured I can build on parts of the file upload tutorial. What would be the best/easiest way to convert the canvas data to a file that can be uploaded? Is “canvas.toDataURL(“image/png”)” the way to go? Or are there other/better ways?