Standalones

alpha


Creates an alpha channel for a picture file, or modifies an existing alpha channel.

You must specify an intensity range for each channel. If the intensity of a pixel is within the range, the alpha value for this pixel is set to zero. Otherwise, it is set to the alpha value specified on the command line.

Usage

alpha <input file> <output file> <alpha value>
<min red> <max red>
<min green> <max green>
<min blue> <max blue>
[-r <repeat count>]
[-s <start frame> <end frame> <step>] [-v]
<input file> is the name of the original file.

<output file> is the name you want to give to the new file.

<alpha value> is the alpha value used if the intensity of the corresponding pixel falls outside of the specified ranges.

<min red>, <max red>, <min green>, <max green>, <min blue>, and <max blue> set the minimum and maximum values for the red, green and blue ranges.

Options

-r
Specifies how many times each frame should be repeated. The default is 1.

-s
Creates or modifies the alpha channels for a sequence instead of only one frame.

-v
Turns on the verbose mode.

Note: To use alpha effectively, you should have a good idea of the RGB content of the picture file. Intensity ranges that work with one picture might not work well with another.


Standalones Reference - 15 APR 1996

Generated with Harlequin WebMaker