Capture canvas image
easyeda_canvas_captureCaptures the visible EasyEDA schematic or PCB canvas as PNG for a specified tab or the last-focused tab. Downsamples oversized images without cropping and reports original and final dimensions.
Instructions
Capture the visible EasyEDA schematic/PCB canvas as PNG. Captures the given tab or last-focused tab. Oversized PNGs are downsampled without cropping and report original/final dimensions.
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 | ||
| downsampled | No | ||
| image_base64 | No | ||
| not_available | No | ||
| image_dimensions | No | ||
| payload_budget_bytes | No | ||
| original_image_dimensions | No |