Expanding and Contracting Selections in Photoshop

Expanding and contracting active selections in Adobe Photoshop directly alters the boundaries of the selection marquee, visibly pushing the perimeter outward or pulling it inward by a designated pixel count while altering the geometry of corners. This article details the visual transformations that occur on the canvas when modifying active selections, including boundary displacement, corner rounding, and the impact on fine details.

Visual Effects of Expanding a Selection

When applying the Expand command (Select > Modify > Expand), Photoshop projects the selection boundary outward in all directions by the specified pixel amount.

  • Outward Perimeter Shift: The animated dashed line—commonly called the "marching ants"—moves radially away from the center of the selection, encompassing more of the underlying canvas or image.
  • Corner Rounding: Sharp, angular exterior corners lose their crispness and become visibly rounded. Because the expansion algorithm calculates distance outward like a sweeping circle from every pixel edge, acute points become smooth arcs.
  • Enclosure of Gaps: Inner voids, holes, or unselected gaps within the selection shrink. If the expansion value exceeds the width of an unselected gap, the hole will vanish entirely as the expanding edges merge.

Visual Effects of Contracting a Selection

When applying the Contract command (Select > Modify > Contract), Photoshop pulls the boundary inward toward the center of the active area.

  • Inward Perimeter Shift: The marquee retreats uniformly from the original perimeter, reducing the total square area of the active selection.
  • Clipping and Rounding of Angles: Pointed, acute exterior corners pull back and flatten or round out, while interior corners (crevices or concave angles) become rounded as adjacent edges contract into one another.
  • Loss of Thin Details: Fine details, hair strands, thin lines, or narrow protrusions will visibly thin out, break into separate smaller selections, or disappear completely if their original width is less than twice the contraction value.
  • Widening of Negative Space: Any holes, cutouts, or unselected areas inside the shape will expand visually, as the selection pulls away from these internal borders.

Impact on Editing and Masks

The visual change in the marquee is purely geometric until an action is applied. When applying a fill, adjustment layer, or layer mask to the modified selection, the resulting edge renders the modified silhouette—exhibiting the exact smoothed contours, shifted borders, and rounded corners created by the expansion or contraction setting.