preview_svg
Render SVG strokes into a PNG preview confined to a specified canvas box, simulating real pen plotter output and faults.
Instructions
Render an SVG (paths/shapes, strokes only — fills are ignored) fitted into the box (x,y,w,h) in canvas mm (default: whole canvas). Returns a PNG.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| h | No | ||
| w | No | ||
| x | No | ||
| y | No | ||
| svg | Yes | ||
| simulate | No |