Tutorial

Creating Transparent gif images
moon.jpg (14146 bytes)

There are times when we have an image such as the above one that we want to use on a white background and would like for it to blend into the background.  To do that we need an image with a transparent background color.  But making a black background transparent and putting in a white background is not the answer as it would still show some faint black.

What we need to do is to change the image background to a color nearly matching the background on which it will be placed.  Since that will be white, it becomes easy.

First we need to change our image background to white.  One easy way is to use the fill tool:

fill_tool.jpg (3142 bytes)

and set our background color in the color pallet to whitewhiteback.jpg (4418 bytes)

Use the following setting to perform the fill:

fill_settings.jpg (11450 bytes)

Depending on the image you are filling, the tolerance setting may be anywhere from 0 to 100.  You will have to experiment...  In this case 25 brought us the desired results.  The filled background now appears as below:

image7.jpg (5871 bytes)

Now we need to change the white background to transparent using the following successive settings:

set_trans.jpg (22956 bytes)

trans2.jpg (21417 bytes)

trans3.jpg (18492 bytes)

The white image background will now be transparent.  You can check it at this point to make sure it is by selecting from the Menu, Colors/View Palette Transparency.  The background will show as a checkerboard proving that the transparency has been made successfully.

Save the image as a gif file.  It can now be used on a white background and will blend without any evidence of the original image background.



pagebynb.jpg (5813 bytes)

This page is not maintained by Jasc Software,copyright holders of Paint Shop Pro.
Mention of trademarked names is intended for illustration/reference purposes and does not imply any endorsements by Jasc.



Return to Menu