Photoshop can be confusing. It’s a massive program with countless tools and techniques. However, it’s not the advanced stuff that throws most people, but the very basics. As soon as you start using Photoshop, you’ll probably need to use Layers and Layer Masks. If you don’t wrap your head around them, you’ll never be able to get much further.
RELATED:The How-To Geek Guide to Learning Photoshop, Part 1: The Toolbox
So, let’s take a look at what Layers and Layer Masks are, and how to use them to edit your photos. (And if you’re new to Photoshop, be sure to check out our 8-part beginner’s guide to Photoshop too.)
Add a layer mask that hides part of a layer. In the Layers panel, select the layer or group. Select the area in the image, and do one of the following: Click the New Layer Mask button in the Layers panel to create a mask that reveals the selection. Alt-click (Windows) or Option-click.
What Are Layers?
Photoshop is built on the idea of layers and the layer stack. Everything you do in Photoshop takes place on a layer. All the layers in a document are arranged one on top of the other. Whatever is on the layer at the top of the stack appears above the content on all the Layers below.
The easiest way to think of it is to imagine you’re a kid again making a collage in school. You start with a white background sheet, cut some pictures out from a magazine and stick them to the page. Maybe you grab a marker and add write something on top. All your materials are physically layered. You can take a picture from the bottom of the pile and move it to the top. Or you can take something from the top and move it to the background. The only difference with Photoshop, obviously, is that the layers are digital.
Getting Started With Layers
Layers are surprisingly simple once you’ve grasped the basic concept. Let’s move away from metaphors and look at an actual Photoshop document.
The new document in the image above has only the single white-filled layer Photoshop adds to all new documents. To add a new layer to your documents at any time, click the New Layer button or use the keyboard shortcut Control-Shift-N (Command-Shift-N on a Mac).
I’ve added a second layer to the example document; this time it’s a black square.
In Photoshop, each layer works independently. What gets saved out as the final image is the sum total of all the layers working together. The little eyeball next to each layer controls whether or not it’s visible. To turn a layer on or off, click on the eyeball. In the image below, I’ve turned off Layer 0, the white background.
The checkerboard pattern is Photoshop’s way of showing that an area is completely empty. The white layer is filled with white pixels so, although it might look blank, it really isn’t. Other than the black square, there is nothing else on the second layer. If you were to export this as an image that supports transparency–like a PNG–the checkerboard area would be transparent.
I’ve added a pink circle on a third layer. It’s at the top of the layer stack, so it appears above the black square and the white background.
When I move it below the black square’s layer, it gets covered by the content on the layer above. Whatever layer is on top is going to appear on top, even if it covers up things below. To move a layer to a different position in the stack, Click and Drag it around the Layer Panel.
Layer Opacity
Layers aren’t always fully visible or completely switched off; they can also have some transparency. In Photoshop, you can set the Layer Opacity to anywhere between 0% and 100%. Its visibility will be reduced to that amount.
In the example below, the pink circle layer is set to an Opacity of 0%, 25%, 50%, 75%, and 100%. Look at how the image changes with the layer’s opacity. Photoshop combines all the information from the visible layers to get the final result. At 50% opacity, it’s taking information from both the pink circle and black square layers.
To adjust the opacity of a layer, enter a value of between 0 and 100 for the Opacity or Click and Drag on the number to use a slider to set it.
Layer Masks
Layers on their own can’t do much. It’s rare that you want to just place things on top of each other in Photoshop. Normally, you want to combine different parts of different layers to create the final image. This is where Layer Masks come in.
A layer mask selectively controls the visibility of the different areas of each layer. Each layer mask only affects the layer it’s attached to. Areas of the layer mask that are black conceal the respective area on the original layer, while areas of the layer mask that are white reveal those areas of the original layer. Just remember “black conceals and white reveals”.
To create a new layer mask, select the layer you want to mask and then click the Add Layer Mask button. By default it will be filled with white. If you want to start with a black layer mask, hold down Alt or Option when you create it.
In the image below, I’ve added a new layer mask to the pink circle layer. It’s white, so it doesn’t affect the layer.
When mask is black, it conceals the pink circle even though the layer is still on.
The real power of layer masks is that they let you control different areas independently. In the example below, I’ve added a white square to the layer mask. Only the area of the pink circle that intersects with square is visible in the image. It looks like there are two square layers rather than a square and a circle.
Masks can also be used to add transparency. You don’t have to just use black and white, you can also use gray—the layer’s opacity will be reduced by that amount. I’ve added a 50% gray square around the edge of the white square to the layer mask. The image now looks like there’s a pink square, surrounded by a dark pink circle, sitting in a black square.
RELATED:Remove Complex Backgrounds from Images in Photoshop
This is a bit of an abstract example, but it can be really useful in photos. For example, you can use layer masks to remove the background of a photo completely, which is very cool.
Working With Layer Masks
You can work on a layer mask with any of the regular Photoshop tools. The only difference is that layer masks are grayscale, so you can’t add colors.
To modify a layer mask, select it. You’re then free to add black, white, or any shade of gray with the tool of your choice. Photographers do a lot of work with the Brush tool, while in this article, I’ve used the Marquee tool to create all my masks.
To leave a layer on while turning the layer mask off, right click on the mask and select Disable Layer Mask. You can also select Delete Layer Mask to get rid of it entirely.
Masks are one of the most important tools in Photoshop. You’ll use them in every project. Below, you can see a mask from one of my own images. I’m using it to selectively brighten the model, while keeping the background dark. It was painted with the Brush tool.
READ NEXT- › How Do Smart Homes Work?
- › What’s Going to Happen to Your Huawei or Honor Phone?
- › Will a Smart Plug Pay For Itself?
- › Hardware Security Keys Keep Getting Recalled; Are They Safe?
- › Google Drive and Photos Are Splitting: What You Need to Know
A layer mask is one of the most helpful and powerful creative tools at your disposal in Photoshop Elements 11. A layer mask is similar to a second sheet of acetate that hovers over a layer. You can use layer masks with image layers and adjustment layers.
For an image layer, the layer mask allows you to selectively show, hide, or partially show portions of your image.
With adjustment layers, the layer mask lets you selectively apply the adjustment to the layers below it.
You do this by painting on a layer mask with black and white and various shades of gray. Any black areas on the mask hide the image or the adjustment; any white areas show the image or adjustment; and anything between them (gray) partially shows the image or adjustment. The darker the shade of gray, the less it shows the image or adjustment.
Note that if you have an active selection border in your image before you add an adjustment layer, the adjustment is applied to only that area within the selection border. The resulting layer mask also reflects that selection: The selected areas are white, and the unselected areas are black. By default, the mask is completely white. This allows the image or adjustment to be fully applied to the layers.
Layer masks are excellent for blending layers of images and creating soft transitions between elements. You can gradually brush in transparency and opacity on a selective-pixel basis. You can even apply gradients and filters to your layer masks to create interesting special effects.
Masking is just another way of making a selection. Rather than make a selection with a single selection outline (it’s either selected or it isn’t), masks let you create a selection with up to 256 levels of gray — from white to black.
Follow these steps to create a layer mask:
In the Photo Editor, in Expert mode, open or create a layered image.
In the Layers panel, select the layer that you want to hide portions of.
In the Layers panel, click the Add Layer Mask icon (circle on a square) at the top of the panel.
You see the appearance of a second thumbnail, directly to the right of your image thumbnail, in the Layers panel.
With the painting tool of your choice (we recommend the Brush tool), paint on your layer mask.
Make sure that the mask is selected, not the actual layer. You see black brackets around the thumbnail in the Layers panel.
Apply a foreground color of black where you want to hide the portions of the layer. Leave the mask white where you want the layer to show.
Adjust the Opacity setting in the Tool Options to paint with a less-opaque black, which is essentially like painting with gray. The higher the opacity, the darker the gray and the more it partially hides the layer. If you want subtle blending between layers, use a large, feathered brush tip and vary your opacity settings accordingly.
If things start to run amok, just choose Edit→Fill and fill the entire layer mask with white to start again. As you can see from the figure, we painted some of the background of the girl with black.
You can also use the Gradient tool on the layer mask. Using foreground and background colors of white and black, you can create a nice transition from showing and hiding the layer. The darker areas of the gradient gradually hide the image, whereas the lighter areas gradually show the image. This is a helpful way to creatively and subtly blend one layer into another.
You can also use layer masks to selectively show and hide the effects of an adjustment layer.
Here are some other things to remember when using layer masks:
You can’t add a layer mask to a background layer. You must convert the background into a layer first.
Feel free to edit your layer mask at will. Unlike simply making a feathered selection, you can continue adjusting how much of the current layer or underlying images show — or, how gradually one image blends into another. Just change the areas of white, black, and gray on the layer mask by painting with any of the painting tools.
To load the mask as a selection outline, Ctrl-click (Command-click on the Mac) on the layer mask thumbnail in the Layers panel.
To temporarily hide a mask, Shift-click the layer mask thumbnail in the Layers panel. Repeat to show the mask.
To view the mask without seeing the image, Alt-click (Option-click on the Mac) on the Layer Mask thumbnail in the Layers panel. This action can be helpful when editing a layer mask.
You can unlink a layer from its layer mask. By default, Elements links a layer mask to the contents of the layer. This link enables them to move together. To unlink a layer from its mask, click the link icon on the layer in the Layers panel. Click again to reestablish the link.
To delete a layer mask, drag the layer mask thumbnail to the trash icon in the Layers panel and click Delete in the dialog box.
To apply a layer mask so that it’s fused to the layer and can no longer be edited, drag the mask thumbnail to the Trash icon in the Layers panel and click Apply in the dialog box.
Try applying a filter to your layer mask to create an interesting special effect.
Note that many of these commands are also available from the Layer→Layer Mask submenu.