The SVG to be converted/saved.
Gets the PNG Blob of the SVG.
Gets the PNG dataURL of the SVG.
Returns the SVG, after cleaning, as a text/xml Blob.
SVG as a text/xml Blob.
Returns the SVG, after cleaning, as a image/svg+xml;base64 encoded dataURL string.
SVG as image/svg+xml;base64 encoded dataURL string.
Load a different SVG.
New SVG to load.
Saves the SVG as a PNG file.
The name of the file to save, defaults to the SVG title or untitled.png
.
Saves the SVG as a .svg
file.
The name of the file to save, defaults to the SVG title or untitled.svg
.
Generated using TypeDoc
Converts and saves an SVG element as a PNG or SVG image.