Windows 8: Sharing a HTML5 canvas as an image

Recently, I was working on a Win8 Javascript app where I drawing something on an HTML canvas. One of the requirements was that the user should be able to share the contents of the canvas as an image. The toDataURL function in HTML5 easily converts the content of the canvas to an image, so I […]