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.