Currently, I am working on an amusing Chrome experiment called the Mustache Mirror! If you're interested, you can check it out here. I am aiming to incorporate the Imgur API V3 for uploading an image from the canvas to Imgur and displaying the link. Unfortunately, I am facing some challenges as most of the examples I come across are based on the V2 API...
My approach involves using canvas.toDataURL:
var dataURL = canvas.toDataURL("image/png");
return dataURL.replace(/^data:image\/(png|jpg);base64,/, "");