digital_export_rendered_image
Export a .dig circuit as a PNG or SVG image. Converts the circuit to a viewable file for inspection or sharing.
Instructions
Export a rendered image of a .dig circuit. format=svg reuses Digital's CLI SVG export; format=png (default) generates the SVG first, then converts it at the requested pixel width with DIGITAL_SVG_CONVERTER or rsvg-convert/magick/convert/inkscape from PATH.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| format | No | png | |
| output_path | No | ||
| pixel_width | No | ||
| timeout_seconds | No |