atomicSelections & masks
photoshop_save_selection
Save the active pixel selection to a new alpha channel. Use when: preserving a selection for later reload or batch workflows. Do NOT use when: no selection exists — create one first. Returns: JSON { ok, summary, details: { channel_name, context } }. Preconditions: active document and active pixel selection. Side effects: adds alpha channel.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| channel_name | string | — | Optional name for the new alpha channel (auto-generated if omitted) |
Community recipes
Nothing here yet. Be the first to share one.
Share a recipe