Capture canvas image
easyeda_canvas_captureCapture the currently visible EasyEDA schematic or PCB canvas as a PNG image to visually verify draw, place, or route actions.
Instructions
Capture the currently visible EasyEDA schematic/PCB canvas as a PNG image, so the caller can visually verify the result of a draw/place/route action. Captures the given tab (or last-focused); use easyeda_canvas_capture_region first to frame a specific area. Image is delivered once, as its own content block.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tabId | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | ||
| captured | Yes | ||
| file_name | No | ||
| mime_type | No | ||
| byte_length | No | ||
| image_base64 | No | ||
| not_available | No |