First call canvas.toDataURL() to get a base-64 encoded string for the image [1], then open a new window with that data URL [2].
[1] http://www.w3.org/TR/html5/the-canvas-element.html#dom-canva...
[1] http://www.w3.org/TR/html5/the-canvas-element.html#dom-canva...
Nice work, BTW! One nitpick: the link icon looks like a resistor. It's not obvious what it's supposed to do, although once I figured it out, I find it very handy.