Home   Key Skills   Picture FX   Text FX   Case Studies   Blade Pro   Resources   Books   Arts Digitalis

 

Understanding Masks with Layers

 


Masks are one of the most useful tools in PSP, but they can be difficult to understand, and harder to intuit. Here we are going to explore using masks with layers (I'm assumming you understand layers!). This is not a tutorial, but a set of exercises that helped me get a feel of how masks and layers work together in such a useful way.

OK, first things first, what is a mask?. The nearest thing I've come to a sort of "feely" description is to imagine spray painting through a lace curtain. The lace curtain "masks" the spray paint so the spray only paints where the holes are.

You can also think of masks as stencils, cut-out shapes that you can view through.

Basically, PSP use masks as greyscales, so you can have varying degrees of "maskness". Don't worry if that doesn't make sense, we'll come back to it later. Basically, a black area masks your image perfectly, a white area provides no mask at all.


    Basic Setup:



  • Take two images, of the same size (crop them if necessary)

  • Make sure the images are quite different from each other

  • Make sure neither image has much red in it! (you'll see why later)

  • Set them up in one image so they are layered.

  • If you are using these images, then the photo is the top layer, the text is the lower layer.

    Create a Mask:

  • Firstly, we are going to create a mask in the upper layer

  • Make sure the upper layer is selected

  • Choose Masks, New, Hide All.

    This creates a mask that hides all of the layer, that is it provides no masking at all. Your top layer should have disappeared entirely. In other words the layer has been completely masked off or hidden.

  • OK, next we are going to make the mask itself visible, and edit the mask.

  • Select Masks, View Masks (Ctrl-Alt-V). You will get a red tint over your entire picture. This is the mask. Red is masked, clear is unmasked.

    If this isn't entirely obvious at this stage, make both layers invisible, you have a red tint over the usual green chequer board. Turn both visibility on for both layers before continuing.

    Edit a Mask:

  • Now select Masks, Edit (Ctrl-K). This means you are editing the mask, not the image.

    You may have noticed that your foreground/background colours have switched to greys. Remember, masks are only greyscales.

    If things don't seem right at this stage, select the Masks menu, you should have tick marks next to Edit and View Mask

  • Set the foreground colour to white, select a nice fat paintbrush, and just paint over.

  • Your upper layer should start to re-appear!


  • Try turning the visibility of the layers off, you will see just the mask, it will be something like this:


  • Remember, the red area (that you paint with black!) is a full mask, the clear area (that you paint with white!) is a clear mask.

  • Before we go any further, just experiment. With the visibility of both layers on, paint in white, black, the delete tool and so on, you will see your image, fade, appear and so on.

    Turn layer visibility on and off to see your mask clearly and how it relates to the image that shows through.


Summary so far:

So, what we've seen so far:

  1. A mask on the top layer stops it being visible, letting the lower layer show through.

  2. We can create a mask quickly by Mask, New, Hide All (Ctrl-Y)

  3. We edit a mask using any tool

  4. Paint in white to unmask, set the mask clear (but the layer visible)

  5. Paint in black to mask, set mask red! (and the layer invisible)

The trouble is, when you write the explanation, it doesn't make much sense because you've got visible masks, invisible layers it all seems counter-intuitive to describe, but it should start to make sense the more you play with it.


    Enabling Masks

  • Go to the layers dialog, you will see on the right hand side a little ON/OFF button. Toggle it to see this enable or disable the mask.

  • The next button is a linked chain, when this linked, the mask moves with the image, so flips, mirrors etc make sure the masks is also flipped. When unlinked, the mask does not move.

  • Try, (1) flip the image, then (2) unlinking the mask and flipping the image.

    Linear Gradient Masks:

  • You should now be in a position to try some other work with masks.

  • Let's try a gradient mask, Select View Mask, Edit Mask. You might also want to turn off layer visibility.

  • Clear any old bits of mask you may have. Set foreground to white, background to black

  • Select the fill tool. Set it to linear gradient, with options 270 degrees - in other words black on the left, white on right.

  • Fill the mask, you will see your red tint gradient.

  • Now turn the top layer on again.


  • See how the layer fades to the left

  • If you turn on the lower layer as well you'll see this.


  • Now, this may not be as clear as you want it to be, so again you might want to do things like having very white and black edges with the gradient only in the centre. You can use the Colours, Adjust, Midtones option to control this.

  • Make sure you are in Edit Mask mode

  • Select Colours, Adjust, Highlight/Midtone/Shadow (Shift-M).

  • Set Highlight=60, Midtone=50, Shadow=40. See how this brings the white and dark edges in to the centre.

  • Click OK and you will see how this changes the effect on your image, with a much greater contract between the upper and lower layers.


  • You might want to experiment a little again. Try moving the mask to the left or right, adjust the Midtones, brightness or contrast, try different kinds of gradients. Again, see how the relative levels in the mask effect the final outcome of the image.

    Text Mask

  • Now, lets work with a text mask instead.

  • Edit the mask, and make sure the whole thing is masked over.

  • Then use the text tool to enter some nice chunky text.

  • You will only see the selection marquee, the text will not be filled

  • With a white paintbrush or fill tool, fill the text.

  • With visibility of the layers turned on, you will see this.


  • You can invert the mask, to see this:


    Collage:

  • By now I hope you see that you can hand edit any mask to collage two images together.

  • Of course, the big benefit is that you can work on the mask, deleting, adding to your hearts content without effecting the image at all.


 

Buying from Amazon here helps keep this web site alive


mail: sqw@justkiss.com
url: www.justkiss.com/psp/mask01.htm
Last Updated: 24th September 1998
© 1995-2003 Centreline 2000

Sponsored by Centreline 2000