Sub topic 10
Keeping the Result: Layer Masks and Saved Selections
This chapter assumes you know how to create a selection, change its mode, and work with layers in Photoshop. It also assumes you can use Shift and Alt/Option while editing a selection.
A selection is temporary. It controls which pixels can change, but it disappears when you deselect it or replace it with another selection. A layer mask stores that selection as an editable grayscale image attached to a layer. A saved selection stores it for later reuse.
Convert a selection to a layer mask
Use a layer mask when you want to hide part of a layer without deleting its pixels.
- Select the layer you want to control in the Layers panel.
- Create and refine the selection.
- Click the Add Layer Mask button at the bottom of the Layers panel.
Photoshop converts the selection into a mask. Selected areas remain visible, and unselected areas become hidden. A white area on the mask reveals the layer. A black area hides it. Gray shows the layer partly, creating transparency.
The mask thumbnail appears beside the layer thumbnail. A white outline around the mask thumbnail means the mask is active. Painting now changes the mask rather than the layer pixels.
Edit and manage a mask
Click the mask thumbnail before editing it. Use a soft brush with black to hide more of the layer, white to reveal more, and gray to create partial transparency. Press X to switch the foreground and background colors.
A mask has two separate targets:
- The layer thumbnail controls the image pixels.
- The mask thumbnail controls visibility.
You can disable a mask temporarily by Shift-clicking its thumbnail. Photoshop displays a red X over the thumbnail, and the full layer becomes visible. Shift-click again to restore the mask.
To view the mask by itself, Alt-click or Option-click its thumbnail. This helps you find rough edges, unwanted holes, or gray areas. Alt-click or Option-click again to return to the normal image view.
If the mask is no longer needed, right-click its thumbnail and choose Delete Layer Mask. Choose Apply Layer Mask only when you are certain that you want to permanently remove the hidden pixels. Applying the mask reduces your ability to revise the result.
Save a selection for later
A saved selection is useful when you will reuse the same area. For example, you might select a person once and use that selection to adjust color, create a mask, and sharpen the subject.
With an active selection:
- Open the Select menu.
- Choose Save Selection.
- Enter a descriptive name, such as Subject or Sky.
- Confirm the dialog.
Photoshop stores the selection as an alpha channel in the Channels panel. An alpha channel is a grayscale storage area for selection information. White represents selected pixels, black represents unselected pixels, and gray represents partially selected pixels.
To load the saved selection, open the Channels panel, select the saved channel, and click the Load channel as selection button. You can also use Select > Load Selection.
Loading a saved selection replaces the current selection by default. In the Load Selection dialog, use the operation options to add, subtract, or intersect the saved selection with the current one. This lets you reuse a broad selection while adapting it to a new task.
Give saved selections names that describe their purpose rather than their creation date. “Product outline” is more useful than “Selection 1.”
Choosing between a mask and a saved selection
Use a layer mask when the main goal is controlling visibility. Use a saved selection when the main goal is reusing an area across several edits. You can use both: save the selection first, then convert the active selection into a mask.
| Need | Best choice | Reason |
|---|---|---|
| Hide a background without deleting it | Layer mask | Visibility remains editable |
| Reuse a subject boundary later | Saved selection | The selection can be loaded again |
| Apply different effects to one area | Saved selection | Each adjustment can use the same boundary |
| Continue painting an edge | Layer mask | The mask can be edited with brushes |
Exercise
You selected a product, converted the selection to a layer mask, and later need the same product boundary for a color adjustment. What should you have done before creating the mask?
Show answer
Choose Select > Save Selection, name the selection, and then create the layer mask. You can later load the saved selection from Select > Load Selection or the Channels panel.