Menu

Exercise: Layer Masks

February 15th, 2015

This tutorial goes through the basics of using Layer Masks to add transparent areas without affecting the original image.

Tutorial

  1. Copy and paste the image of your choice onto a new canvas.

    Layer Masks - #1

  2. Adding a layer mask

    To add a layer mask, click the Add vector mask action (“Add a mask” on older versions) on the Layers panel.

    Layer Masks - #2

  3. Switching to layer editing

    To edit on the layer itself and not the mask, click on the left rectangle to select the layer.

    Layer Masks - #3

  4. Switching to mask editing

    To edit on the mask (so it doesn’t alter your original image), click on the right rectangle to select the mask.

    Layer Masks - #4

  5. Adding Transparency

    Make sure the mask is selected like in the previous step. Choose black as your foreground color, and use the Paint Brush to color in areas you want to be transparent.

    Layer Masks - #5

    You are actually not altering the original image in any way. All of this is done on the mask.

  6. Semi-transparency

    Masks only see Grayscale colors and will use the grayscale equivalent of whatever color you are using. Black is 100% transparent, and white is 0% transparent. Anything in between is semi-transparent.

    For example, I will use a gray color instead of black. When I use the Paint Brush again, I create semi-transparent areas instead of fully transparent.

    Layer Masks - #6

  7. Fading out areas

    This means that I can use a gradient to fade out areas. Select the Gradient tool and use a Linear Gradient that goes from black to transparent.

    Layer Masks - #7

    Make sure the mask is selected, and create a gradient from the bottom to top. Now the bottom of the image is faded out.

    Layer Masks - #7

  8. Linking

    By default, the mask and layer are linked together. You can tell by this chain-looking icon between them.

    Layer Masks - #8

    This means if you move the mask or layer, they move together and don’t get separated.

    Layer Masks - #8

  9. Unlinking

    To unlink the layer from the mask, click on the chain icon to make it go away.

    Layer Masks - #9

    Now when you move the mask or layer, they don’t move together. They are separated now.

    Layer Masks - #9

  10. Deleting masks

    To remove a mask, select it, and then hit the Delete action at the bottom of the Layers panel.

    Layer Masks - #10

    It will ask you to Apply or Delete the mask before removing. Use Apply to merge the mask and layer together, altering your original image. Use Delete to remove the mask completely, without touching your original image.

Image credit: berenika at Freeimages

Leave a Reply

Your email address will not be published. Required fields are marked *