I didn't check the source, but rendering the <canvas> to a data URL, and using something like this [0] would work.
[0]: http://stackoverflow.com/questions/5199902/isnt-it-silly-tha...
[0]: http://stackoverflow.com/questions/5199902/isnt-it-silly-tha...