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

NameTypeRequiredDescription
leftnumberyesLeft edge in pixels
topnumberyesTop edge in pixels
rightnumberyesRight edge in pixels
bottomnumberyesBottom edge in pixels

Community recipes

Nothing here yet. Be the first to share one.

Share a recipe