Home>Tutorials> Basics Tutorials>
Creating and Using Masks II: Bi-Colors
E-mail this tutorial to a friendEmail to a Friend

Creating and Using Masks II: Bi-Colors
Created by:Kawliga

Download this tutorial fileDownload File
To follow this tutorial, you'll need to download the attached file on the left and unzip the image to your hard drive.
Standard Toolbar - Open (image) button Open "/tutorial/html/tutbasic/glacier.jpg" from your download.
Let's turn this image into a mask: Go to Masks || New || From Image:
Source window = This Window
Source luminance = selected
Invert mask data = checked

You will now see the white areas in the image as transparent.

Save this mask to disk: go to Masks || Save To Disk, name it "glacier.msk" and click on the Save button.

Now close the original glacier image without saving.

Standard Toolbar - New (image) button Open a new image, 150 x 100 pixels, background transparent, 16 million colors.

Tool Palette - Flood Fill tool
Select your Floodfill tool on the Tool palette:
Blend mode = Normal
Match mode = None
Tolerance = n/a
Opacity = 100
Sample merged = unchecked
Styles Set both your foreground and background style to Solid Color (click on the arrows in the style boxes and choose the icon on the left) and your textures to None (click on the arrows in the texture boxes and choose the icon on the right). Then click into your style boxes and set your foreground color to yellow (Red = 255, Green = 255, Blue = 128) and your background color to red (Red = 192, Green = 0, Blue = 0).
Layer Palette - Create layer button Left-click into the image to fill it with the foreground color. Hold the Shift key and click on the "New Layer" icon in your layer palette to create a new layer, then right-click into your image to fill this second layer with your background color.

Now, apply the mask: Go to Masks || Load From Disk and select "glacier.msk".

Your image should now be a yellow glacier with a red outline.

When you are happy with the color combination, delete and merge the mask: Go to Masks || Delete and click on Yes when prompted to merge the mask with the layer.