Standalones

gradation


Creates a gradation between colours and saves it as a picture. You can vary the colours horizontally, vertically, or between all four corners.

The colour values must be in the range [0.0, 1.0].

Usage

gradation <output> <width> <height> 
{-V <start r0> <start g0> <start b0> <start r1> <start g1> <start b1> | 
-H <start r0> <start g0> <start b0> <start r1> <start g1> <start b1> |
-A <start r0> <start g0> <start b0> <start r1> <start g1> <start b1> <start r2> <start g2> 
<start b2>  <start r3> <start g3> <start b3> }
[-e <end r0> <end g0> <end b0>  <end r1> <end g1> <end b1> [<end r2> <end g2> <end b2>  <end r3> 
<end g3> <end b3>]]
[-r <repeat count>] [-s <start frame> <end frame> <step>] [-V]
<output> is the name you want to give to the final picture.

<width> is the width of the picture in pixels.

<height> is the height of the picture in pixels.

Options

-V
Produces a gradation composed of vertical lines of uniform colour. The first set of RGB values corresponds to the left, and the second set to the right.

-H
Produces a gradation composed of horizontal lines of uniform colour. The first set of RGB values corresponds to the top, and the second set to the bottom.

-A
Produces a gradation between all four corners. The first set of RGB values corresponds to the upper-left corner, the second set to the upper-right corner, the third set to the lower-left corner, and the fourth set to the lower-right corner.

-e
Modifies the colours continuously over a sequence. Specify the RGB values for the last frame. If you are using the -V or -H options, you must specify two sets of RGB values; if you are using the -A option, you must specify four sets of RGB values.

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

-s
Creates a sequence of gradations.

-v
Turns on the verbose mode. Make sure to use a lower-case v for the verbose option, since the upper-case V is used for the vertical option.


Standalones Reference - 15 APR 1996

Generated with Harlequin WebMaker