Sub topic 2
Select the subject you want to keep
This chapter assumes you can open two photos in Photoshop, that you know what a layer is, and that you have the second photo placed in the same document. You should also know the Toolbar and the Layers panel.
Select the subject you want to keep
Start with the photo that holds the subject you want to keep. Choose Select > Subject. Photoshop analyzes the image and builds a selection around the main subject. Check the marching ants along the edges.
If the selection misses areas, use the Quick Selection tool (W) and drag over the missing part. Hold Alt (Option on Mac) to subtract from the selection.
Hide and reveal with a layer mask
A layer mask is a grayscale channel attached to a layer. White areas show the layer, black areas hide it, and gray areas show it partly. A mask does not delete pixels, so you can change it later.
With the selection still active, click Add Layer Mask at the bottom of the Layers panel. Photoshop keeps the subject and hides the background. Alt-click (Option-click) the mask thumbnail to view the mask itself.
Blend the images by painting on the mask
Click the mask thumbnail to select it. Then press B for the Brush tool and set these options in the options bar:
| Setting | Value | Effect |
|---|---|---|
| Hardness | 0% | Soft edges that blend gradually |
| Opacity | 30 to 50% | Gradual change with each stroke |
| Size | Match the edge width | Covers the seam without overreach |
Press D to reset colors, then X to swap them so black is the foreground color. Paint along the edge where the subject meets the new background. Press X to paint white and restore any detail you hid by mistake.
Exercise
Why does painting black on a layer mask protect the original pixels better than erasing them?
Show answer
Painting black on the mask only hides the pixels. The layer's original pixels remain intact, so you can paint white later to restore them. Erasing removes the pixels permanently.