{"category":"image","endpoint":"https://setget.net/v1/tools/svg-to-png","examples":[{"input":{"svg":"sample.svg","width":480},"title":"Render 480 pixels wide"},{"input":{"background":"#ffffff","scale":2,"svg":"sample.svg"},"title":"Double size on white"}],"input_schema":{"additionalProperties":false,"properties":{"background":{"description":"Background colour such as #ffffff. Leave empty to keep it transparent.","examples":["#ffffff"],"type":"string"},"height":{"description":"Height of the PNG in pixels. With only one of width and height, the other follows the drawing's proportions.","maximum":16000,"minimum":1,"type":"integer"},"scale":{"default":1,"description":"Multiply the drawing's own size, for example 2 for a sharper image. Ignored when width or height is given.","maximum":20,"minimum":0.1,"type":"number"},"svg":{"description":"The SVG file to render.","format":"setget-file","type":"string","x-accept":["image","text"]},"width":{"description":"Width of the PNG in pixels. Leave empty to use the drawing's own size.","examples":[512],"maximum":16000,"minimum":1,"type":"integer"}},"required":["svg"],"type":"object"},"keywords":["svg","png","rasterize","render","vector","convert svg","export","icon","logo"],"related":["svg-optimize","image-convert","favicon-pack","image-resize"],"slug":"svg-to-png","summary":"Render an SVG drawing to a PNG image at any size, with a transparent or solid background.","tier":"job","timeout_seconds":60,"title":"SVG to PNG","url":"https://setget.net/tools/svg-to-png"}
