benetech/mmlc-experiments — pull request #5 by mohit-agarwal (2014-05-15 21:52:01+00:00)
Title: SVG to PNG conversion functionality added.

I use the canvg library to render the SVG image on the Canvas element. I then use 'toDataURL() ' function of the canvas object to encode the image data as a base64 encoded PNG file and returns it as a data:URI. I then set this dataURI as the 'src' attribute of an image element.