screenshot
Capture the current brain volume view as a downscaled PNG image, returned with its file path. Uses live canvas or server-side rendering.
Instructions
Capture the current view as a downscaled PNG and return the image and its path.
Uses the live Niivue canvas when a browser viewer is attached, otherwise renders the same layer stack server-side with nilearn. The response says which one ran.
Args: filename: Optional name for the PNG inside the session's temp directory.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | No |