Standalones

gray_scale


Converts a colour image into a gray scale image.

Two averaging methods are available to convert the colours into gray scale. The default method uses the NTSC averaging formula:

 gray scale value = (0.299 x red) + (0.587 x green) +
           (0.144 x blue)
The second method simply computes the normal average of the three colours.

Usage

gray_scale <input file> <output file>
[-n] [-r <repeat count>] 
[-s <start frame> <end frame> <step>] [-v]
<input file> is the name of the file you want to convert.

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

Options

-n
Uses the normal averaging method.

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

-s
Performs the transformation on a sequence of frames.

-v
Turns on the verbose mode.


Standalones Reference - 15 APR 1996

Generated with Harlequin WebMaker