Clive R. Haynes FRPS
This description applies to CS and CC versions. For earlier versions of Photoshop please click on this link.
The use of a Layer Mask is an essential for sophisticated compositing and the seamless melding of images.
When images on various layers are required to be part of the overall composite picture, many people simply use the Eraser tool erase the unwanted areas until the image looks correct. However the problem with using the eraser tool is that if you make a mistake you easily cannot 'un-erase', except by using 'Undo' or stepping back through the History states. Others make tedious and intricately time-consuming 'selections', only to discover that (even after 'feathering') the inserted image has a 'cut-out' appearance.
Help is at hand within Photoshop's ever-resourceful Layer facilities.
As an example we're going
to combine two images, a shoreline and a dog.
To practice along side this 'worked example', choose a couple of suitable images and have a go.
Using a Layer Mask
go through the following exercise to help you understand understand Layer Mask.
|The shoreline image is the Background Layer.|
|Next, import / copy & paste an appropriate image image that will serve to make a 'composite' scene - in this case, a dog that happened to be somewhere else along the shore.|
The Layer Order after introducing the new image
This new image will appear on its own layer above the Background image.
Move Tool is used to position the new (dog) image.
NB. Make certain that the upper layer is activated.
now add a 'Layer Mask'
|By clicking on the Layer Mask icon (dark grey circle within a white square) at the bottom of the Layers palette|
Or via, Layer > Layer Mask > Reveal All (more about the 'Hide All' option later)
soon as the Layer Mask is created, the layer window will have two rectangles -
one for the image (thumbnail) and one for the Layer Mask area thumbnail ( a white,
This is important: Painting on the Layer Mask needs to be done with the Mask active, that's to say, a white frame appears around the mask when you click on it.
To use image-related functions, click on the Image 'thumbnail' - and a white frame will appear around it. See below.
Activate the layer containing both the imported image and the Layer Mask. In this case the dog.
When you activate the Layer Mask the Foreground and Background colours (bottom of toolbar) automatically become black and white.
Next, choose a suitable brush and a appropriate brush diameter
the brush pressure/opacity at 100% paint in and around the image. You will see
that the image is stripped away to reveal the layer beneath.
You can change between black and white foreground colours to erase and restore as often as you like and with different opacities/pressures and brush sizes a very accurate composite/montage can be made. Reduced brush opacity will paint with various levels of grey to enable partial erasure or restoration. The use of a graphics pen and tablet will be greatly more intuitive in use than a 'mouse'.
You now have the use of a very powerful tool at your disposal enabling you to seamlessly meld images together.
Should you forget to click on the rectangle containing the Layer Mask to activate the Layer Mask icon, you'll paint black (or white) paint on your image - we've all done it! Thankfully it's easy to undo (Ctrl + Z, or use 'History) and continue.
Above: Dog layer partially removed using the Layer Mask facility