Making Side Masks from Edge Masks


Copyright © September, 2003 SuzShook.

sample side mask

dot   Script Summary:

The purpose of this script is to create side masks from other edge masks. The script uses an open edge (frame) mask in your workspace, calculating the size of the side mask from the original mask. The width and height of the side mask will always be at least 100 pixels less than the corresponding measurements of the original mask, up to a maximum of 300 by 300 pixels.

The script begins with a dialog allowing the user to choose whether the side mask is to be built from the right or left side of the original mask. If the mask is to be built from the right side, the selection is made, copied, a new image is created from the selection, and PSP's Seamless Tiling effect is applied.

If the mask is to be built from the left side of the original mask, the image is mirrored before the selection is made.

Sometimes, depending on the source image used, there will be some cleanup work to do before the new side mask is saved. Use the Magic Wand with Tolerance set to 0 to determine that the left side of the mask is totally white. If there are patches or blotches of non-white, you may want to use the Paintbrush to paint in white. Of course, if your mask is mostly black, you'll want to paint in black instead of white.

In the following example, you can see some areas that are not all white - indicated by the blue arrows. Just use a brush Size of about 30 with a Hardness of 100 to paint over these areas with white. For the areas indicated by the red arrows, you will want to lower the hardness of your brush considerably, so as to keep the edges soft near the edge of the mask. I often use a setting in the vacinity of 15-20 for these areas.

mask needing cleaning


dot   Installation Instructions:

Download the script - this script runs from any Restricted folder, including its own Quick Guide folder.


dot   Change History:

  • 00 - original version

Notes and Tips:
checkmark If the mask you create is mostly black and you want to save it as mostly white so it will be easier to use, just choose Adjust...Negative Image before saving. Now it's ready to use without having to invert it.
checkmark For some side masks, the Seamless Tiling effect creates unwanted or unneeded artifacts at the top and bottom of the mask. If this happens to you, just press Undo (or CTRL + Z). This will undo the last step, which is the Seamless Tiling step.
checkmark If you choose a source mask whose top or bottom would make a "cool" mask, just rotate the mask 90 degrees before executing the script.
checkmark To save your new mask, just export as a GIF file - PSP8 accepts any of its recognized file types as masks.