atomicSelections & masks
photoshop_contract_selection
Contract (shrink) the active pixel selection inward by a pixel amount. Use when: tightening a loose selection or trimming halo after expand. Do NOT use when: no selection exists — create one first. Returns: JSON { ok, summary, details: { pixels, bounds?, context } }. Preconditions: active document and active pixel selection. Side effects: modifies selection.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| pixels | number | yes | Pixels to contract by (minimum 1) |
Community recipes
Nothing here yet. Be the first to share one.
Share a recipe