export_png
Convert an SVG document to a PNG image with configurable DPI, dimensions, export area, and background, using secure Inkscape options.
Instructions
Exports an SVG document to PNG through Inkscape using only bounded, allowlisted options.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dpi | No | ||
| area | No | page | |
| path | Yes | ||
| width | No | ||
| height | No | ||
| background | No | document | |
| outputPath | Yes | ||
| workspaceId | Yes | ||
| backgroundColor | No | ||
| expectedRevision | Yes | ||
| backgroundOpacity | No | ||
| expectedOutputRevision | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| area | Yes | ||
| dpiX | No | ||
| dpiY | No | ||
| width | Yes | ||
| height | Yes | ||
| revision | Yes | ||
| background | Yes |