preview
Checks Capture One context capabilities, renders current adjustments or a selected layer's composite mask, and maps pixel coordinates between rendered images and RAW using the returned ID.
Instructions
Check context capabilities first. macOS requires explicitly enabled kind=render JPEG exports.
On Windows, default native renders current C1 adjustments asynchronously, without export or focus.
kind=mask renders the selected layer's whole composite mask. max_size is 128..1600. map_points maps {x,y} pixel-edge coordinates using C1's nonlinear transform; use the same kind/max_size and returned preview_id. Divide RAW x/y by raw_dimensions to make normalized gradient coordinates. A changed photo, layer or revision invalidates the id. Only the most recent preview job is retained; eight PNG cache files are retained. Legacy kind=render exports, kind=viewer/action=capture samples the display.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | native | |
| action | No | render | |
| points | No | ||
| target | Yes | ||
| max_size | No | ||
| direction | No | preview_to_raw | |
| preview_id | No | ||
| request_id | No | ||
| observation_token | Yes |