download_section_image
Download a 2D section image as a JPEG with configurable downsampling, quality, and region extraction.
Instructions
Download a 2D section image as a JPEG file to a local path. Supports downsampling, quality, and partial region extraction.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sectionImageId | Yes | Section Image ID (obtain via get_section_images). | |
| filePath | No | Local path to save the JPEG (default: section_image_{id}.jpg). | |
| downsample | No | Number of times to downsample (1 = half resolution, 2 = quarter, etc.). | |
| quality | No | JPEG quality, 0–100 (default is max quality). | |
| expression | No | If true, request the expression mask overlay. | |
| top | No | Top row of region of interest (full-resolution pixels). | |
| left | No | Left column of region of interest (full-resolution pixels). | |
| width | No | Width of output region (tier-resolution pixels). | |
| height | No | Height of output region (tier-resolution pixels). |