atomicSelections & masks
photoshop_select_rectangle
Create a rectangular pixel selection from corner coordinates. Use when: masking, cropping a region, or preparing for layer mask. Do NOT use when: subject isolation is needed — use photoshop_recipe_remove_background. Returns: selection bounds [left, top, right, bottom]. Preconditions: active document. Side effects: replaces current selection.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| left | number | yes | Left edge in pixels |
| top | number | yes | Top edge in pixels |
| right | number | yes | Right edge in pixels |
| bottom | number | yes | Bottom edge in pixels |
Community recipes
Nothing here yet. Be the first to share one.
Share a recipe