Created
August 2, 2003 © Copyright Moon's Designs
|
![]() Octagon |
![]() Rounded Rectangle |
![]() Star |
Step 4:
Before we can tell PSP that this image needs to
be used as a mask, we need to promote the background
to a regular layer. Go to Layers/Promote Background
Layer. If you do not do this, when you try doing
the next step you will get a warning message stating
that the background must be promoted to a regular
layer.
Now we can tell PSP that this image is to be used as a mask. Go Layers/New Mask Layer/From Image.

This dialog box will now appear. Choose Source luminance and click OK.

The black portion of your image will turn transparent. Depending on how you have your color scheme set up in File/Preferences/General Preferences/Transparency, your image will look like this or whatever color you have your transparent background set for.

Step 5:
You now will want to save your mask that
you created so you can use it again. Go to Layers~~>Load/Save
Mask-->Save Mask to Disk. You will get this dialog
box.
Give your mask a unique name, I always start mine with my initials so that I know that I am the creator, and click save. PSP will automatically save your masks with a .pspmask extension.
Step 1:
Open the image that you want to apply your mask
to. Duplicate your image (Shift+D). The
main reason for making a copy is in case I want
to use the image again and forget to change the
name when I save *S* You can close out your original
graphic.
If your image is on a background layer you will want to promote it to a regular layer. Go Layers-->Promote Background Layer.
Step 2:
Go to Layers-->Load Mask From Disk. You will
get this dialog box.

Click on the down arrow next to your masks and all of the masks that you have loaded will appear. Scroll down to the mask you made. Of course, you can always use one that JASC has provided for us ~smiles~. I left the default of Source luminance checked.
In the orientation area you can choose to have it fit to canvas, fit to layer, or as is. If you choose fit to canvas you can adjust the mask by stretching or contracting as needed. If you have resized a layer, not the entire canvas, you can choose fit to layer. As is places the mask starting in the top left corner of the current layer, if your masks image is smaller than the current layer, PSP masks all pixels outside of the mask image. Keep your eye on the preview pane to see how it changes. I also have some screenshots below.
In the Options area you can choose to Invert transparency, which will turn your black area white and your white areas black. When using the As is you can choose Hide All, Show All, or Use Image Value.
Let's examine what happens when you use As is. My mask is smaller than the image that I am going to use. If I choose the Hide all mask you will see that the mask is not centered in the preview.

When using Show All mask it leaves a space on the right side and changes the surrounding black pixels to white.

This is what happened when the mask was applied. Sure doesn't look very good does it?

Leaving your options set at the default will normally be the most beneficial to you. Here is how my image looks with the mask applied with the default settings.

You can now save your image as a gif if you like or do more editing and add a background to your image. I'll show you more about doing this in the next lesson. Here is my image saved as a gif.

One more thing to note. The mask we made was 300x400. What will happen if you use an image that is wider than the height? When you load mask from disk your mask will now look like this, see the preview pane.

I hope this part of the Mystery of Masks helps you understand creating, saving, and applying Masks. Coming soon we will create a Vignette using a mask and a gradient.

If you have any problems, comments or questions please do not hesitate to E-mail me.

If you are interested in knowing when I have added something
new to
Moon's Designs, please fill out the form below.
OR

View
My Guestbook
Sign
My Guestbook