screenshot_fiji
Capture screenshots of the full screen, current image, or results table for verification in Fiji. Supports headless operation with active image or results table modes.
Instructions
Capture pixels for verification: full_screen (primary monitor via Robot), active_image (current ImagePlus), or results_table (render Measure/Results data). Use active_image or results_table when running headless without a display.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| capture_mode | No | full_screen: Java Robot on the primary monitor only (needs display). active_image: rasterize the current ImagePlus. results_table: render the ImageJ Results table as a PNG (no desktop; headless-friendly when data exists). | full_screen |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| capture_mode | Yes | full_screen: primary-monitor Robot capture; active_image: current ImagePlus; results_table: rendered Results window data. | |
| mime_type | Yes | MIME type of the encoded image. | |
| format | Yes | Encoder output format label. | |
| width | Yes | ||
| height | Yes | ||
| from_cache | Yes | True if a recent identical capture was reused. | |
| image_base64 | Yes | Base64-encoded image bytes for inline display. |