pixie/fileformats/svg

    Dark Mode
Search:
Group by:

Load SVG files.

Consts

xmlSignature = "<?xml"
svgSignature = "<svg"

Procs

proc decodeSvg(data: string; width = 0; height = 0): Image {...}{.
    raises: [PixieError], tags: [WriteIOEffect].}
Render SVG file and return the image.