I have a canvas that I would like to upload as an image file to a server.
I can convert the canvas to a Base64 string, but couldn't figure out how to create an image file from there ( so once uploaded to the server it can be accessed directly by url in a img src).
Note : All the server do is save the uploaded data to a file, so the conversion must be done client side in javascript
Any ideas ?