TransGIF
---------------------------------------------------------------------

This program may be distributed with CAB. Separate distribution is not 
allowed.


TRANSGIF.TTP enables one colour in a GIF image to be defined as 
transparent. All pixels of this colour are not displayed in HTML pages 
and are effectively invisible. This program provides a convienient 
method of masking any irregular edges in GIF icons and images.

ATTENTION!
This program is a primitive hack and has NO safety features whatsoever. 
Use with CAUTION, there is no guarantee the program will function 
correctly!

The source file is never changed and must be in GIF87a format (e.g. 
Papillon Save).
The destination image is always in GIF89a format (GIF87a does not 
support a transparent colour). Consequently the destination image 
cannot subsequently be used as a source image with TRANSGIF.TTP.

Important!
Verified the destination file has the correct colour set as transparent 
and displays correctly in CAB before deleting the source file, you have 
been warned!

Calls:

transgif.ttp <filename>

 Displays the entire colour palette as list of RGB values. The 
 <filename> must be a GIF87a image.

Example: transgif.ttp any87a.gif


transgif.ttp <colour index> <source file> <destination file>

 Reads a GIF 87a image <source file>, defines the colour in <colour 
 index> as transparent then saves the result as a GFI 89a image in 
 <destination file>.

Example: transgif.ttp 0 old87a.gif new89a.gif

---------------------------------------------------------------------
EOF