1. Tech

Your suggestion is on its way!

An email with a link to:

http://graphicssoft.about.com/od/aboutgraphics/l/aamasks1.htm

was emailed to:

Thanks for sharing About.com with others!

About Grayscale Masks

Part 1: What is a Mask

I've been getting a lot of requests for information about masks. Masks are a feature in just about all bitmap-based image editing software. If you've ever painted your house, you probably used masking tape to protect specific areas from getting paint on them. Masks in image editing software work almost the same way... only better! What makes it better? Masks in your image editing software can provide varying levels of protection, allowing you to create soft fades, decorative edges, and translucent effects.


What is a mask?

Essentially, a mask is a grayscale bitmap image. The pure white areas in the image represent the portions of your original image that will be 100% protected. The pure black portions of the image represent the areas of your original image that are completely masked out, or erased. The levels of gray in-between allow your image to be partially protected. If you have trouble keeping track of which color does what, just think of masking tape to help you remember... masking tape is usually white or light colored, so the white areas of your mask are the most protected. Many image editing software allows you to save your masks as grayscale images so they can be used over and over again. On the following pages, I'll show you how you you can use any grayscale image as a mask in several popular image editors.


A mask

Original Image

The original image with the mask applied.

In the examples above you can see a mask and how it interacts with the image. Compare the masked image to the mask. Notice that the areas of white in the mask are 100% opaque in the masked image. The areas of black are 100% transparent. The gray areas softly fade away in partial transparency.

A mask does not have to be a separate image. Most software allows you to paint a mask directly onto your image. It works the same way... painting with black while in mask mode erases the underlying layer of your image, and painting with white brings it back. Shades of gray allow you to paint in partial transparency.

When you're painting in mask mode, the mask is usually represented on the screen by a ruby overlay. The ruby overlay lets you see the mask represented by a reddish tint while still allowing you to still the image you're working on. Some software allows you change the overlay tint color. To the right you can see the same image used in the examples above with a ruby overlay. Transparency is indicated by a checkerboard pattern in image editing software; that's why you see the checkerboard pattern in this image.

Next Page > Masks and Selections > Page 1, 2

Related Resources:

Questions? Comments? Post to the Forum!

You can opt-out at any time. Please refer to our privacy policy for contact information.

Discuss in my forum

©2014 About.com. All rights reserved.