Exclusive Offer - 20% Off Mitsubishi CP-M15E Printer Bundle!

How to use a Layer Mask in Photoshop to blend images

How to blend two images together in Photoshop.

|  Adobe Photoshop
 Add Comment
A Layer Mask lets you control what parts of the layer are hidden/visible. To make part of a layer visible you paint over it with white and to hide it you use black. If you want to partially show part of the layer you can use grey. This ability to hide/reveal parts of layers makes Layer Masks the perfect tool for blending too images together seamlessly.

Open your images

Open your images up in Photoshop and drag one image into the other with the Move tool so each of the images appear on separate layers. In our example it's a landscape shot and a photo of a sheep of which we are going to blend into the background. If, like ours, your subject is too big for the background go to Edit>Free Transform and adjust the anchor points until they fit.

Move two layers together

Layer Mask

Layer Mask

Select the layer you want to create the mask on, which in our case is the image of the sheep, and select the Layer Mask icon from the bottom of the layers palette. This will add a Layer Mask icon on the layer you selected and for the moment it will be completely white as none of the layer is hidden by the mask.

Brush Tool

At the moment it looks like we have two separate images but we can use the Layer Mask to hide the area surrounding the subject to seamlessly blend the two layers together. To do this, select the Brush tool, make sure the foreground colour is set to black and paint over the part of the layer you want to hide. If you paint too much away change the foreground colour to white and paint back over the area you've just removed.

Paint on the layer mask

Shot before and after:
Layer Masks

Gradient Tool

If you want to blend too images together gradually you can use the Gradient tool. Drag one image into the other, as you did previously, so you have two layers.

Two images open in Photoshop
As you can see with our example the top layer is overlapping the bottom one but if we used the Brush tool on a Layer Mask to remove it the backgrounds wouldn't blend together and the image wouldn't look right. However, if you use the Gradient tool, creating a gradient that's black at the left and gradually turns into grey, will seamlessly blend the images together. 
To do this, select the Gradient tool and click on the box towards the top of the work area that has the Gradient in it. This will open the Gradient Editor where you can increase/decrease the amount of black, grey and white is in the gradient. The more black you have the more of the layer will be hidden when you apply the gradient.

Before you use the gradient make sure you've created a Layer Mask on your top layer then starting where you want most of the image to be hidden, click and drag your mouse to where you want to blend to end. If the Gradient takes too much of your image away you can switch to the Brush tool making sure white's set as your foreground colour and paint the detail back in.

Finished image:
Images blended

Find the tripod and camera bag to suit your needs at www.vanguardworld.com

Support this site by making a Donation, purchasing Plus Membership, or shopping with one of our affiliates: Amazon UK, Amazon US, Amazon CA, ebay UK

It doesn't cost you anything extra when you use these links, but it does support the site, helping keep ePHOTOzine free to use, thank you.

Other articles you might find interesting...

Colour Grading In Lightroom And Photoshop - Which Does It Better?
Adobe Photoshop Gets Huge Line-Up Of New Features & Adobe Li...
AI Sky Replacement - Coming Soon To Adobe Photoshop
Adobe Release Large Photoshop Update With New Subject Select...
Curves Tool Added To Photoshop On iPad
22 Top Books For Learning Adobe Photoshop
5 Top Photoshop Tutorials: How To Use Clone, Repair And Heal...
Adobe Photoshop Turns 30 & Introduces Content-Aware Fill & L...

There are no comments here! Be the first!

Sign In

You must be a member to leave a comment.

ePHOTOzine, the web's friendliest photography community.

Join For Free

Upload photos, chat with photographers, win prizes and much more.