Export schematic or PCB canvas image
easyeda_export_imageExports high-resolution PNG, SVG, or JPG renderings of the active schematic sheet or PCB layer stack with transparent background, DPI scaling, and selectable layer visibility.
Instructions
Exports a high-resolution visual rendering or vector graphic (PNG, SVG, JPG) of the active schematic sheet or PCB layer stack with transparent background, resolution scaling, and layer visibility options.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dpi | No | Resolution in dots-per-inch (raster formats). | |
| scope | No | Scope of document to export. | auto |
| theme | No | Visual theme for rendering. | default |
| format | No | Image format (png, svg, jpg). | png |
| layers | No | Specific PCB layers to include (e.g. ['TopLayer', 'TopSilkLayer']). | |
| fileName | No | Optional output file name without extension. | |
| timeoutMs | No | ||
| destinationPath | No | Optional destination directory / target path. | |
| transparentBackground | No | Whether to use transparent background. |