8.2. SVG to PNG Converter

With this tool load a SVG file and convert it into PNG image to use it in office documents or others.

The conversion is performed by the browser using HTML5 features like canvas.

SVG image elements can reference HTTP resources (png, jpeg, .., svg) external to the document. It is thus possible to display in a SVG document dynamic images such as Google maps (as in the case of example Villandry). But these resources are ignored by HTML img elements and canvas for security reasons. So the document in this state can not be converted to PNG format.

This tool solves this problem by loading these resources to encode then as data URI and make stand-alone document. The document thus transformed can be converted to PNG format. Resource loading is handled by the component "load http images."

Figure 8.2. SVG to PNG Converter

SVG to PNG Converter