1Ppmrainbow User Manual(0)                            Ppmrainbow User Manual(0)
2
3
4

NAME

6       ppmrainbow - Generate a rainbow
7
8

SYNOPSIS

10       ppmrainbow
11
12       [-width=number] [-height=number] [-tmpdir=directory] [-norepeat] [-ver‐
13       bose] color ...
14
15

DESCRIPTION

17       This program is part of Netpbm(1).
18
19       ppmrainbow generates a PPM image that fades from one color  to  another
20       to  another  from  left to right, like a rainbow.  The colors are those
21       you specify on the command line, in that order.   The  first  color  is
22       added again on the right end of the image unless you specify the -nore‐
23       peat option.
24
25       If you want a vertical or other non-horizontal rainbow, run the  output
26       through pnmrotate or pamflip.
27
28       One use for such a rainbow is to compose it with another image under an
29       alpha mask in order to add a rainbow area to another image.   In  fact,
30       you  can  make rainbow-colored text by using pbmtext, pamcomp, and ppm‐
31       rainbow.
32
33       pgmramp does a similar thing for grayscale images.
34
35       If you just want an image containing all the possible colors (for  some
36       kind of processing; not to look at), see pamseq.
37
38

OPTIONS

40       All  options  can  be abbreviated to their shortest unique prefix.  You
41       may use two hyphens instead of one to designate an option.  You may use
42       either  white  space  or  equals  signs  between an option name and its
43       value.
44
45
46
47       -width number
48              The width in pixels of the output image.
49
50              Default is 600.
51
52
53       -height number
54              The height in pixels of the output image.
55
56              Default is 8.
57
58
59       -norepeat
60
61              This option makes ppmrainbow end the rainbow with the last color
62              you  specify.   Without  this  option, ppmrainbow adds the first
63              color you specify to the right end of the rainbow as if you  had
64              repeated  it.   (I  don't  understand  the point of this default
65              behavior; it exists today just for backward compatibility).
66
67
68       -tmpdir
69              The directory specification of the directory  ppmrainbow  is  to
70              use for temporary files.
71
72              Default is the value of the TMPDIR environment variable, or /tmp
73              if TMPDIR is not set.
74
75
76       -verbose
77              Print the 'commands' (invocations of other Netpbm programs) that
78              ppmrainbow uses to create the image.
79
80
81
82

SEE ALSO

84       pgmramp(1), pamseq(1), pamgradient(1), ppmmake(1), ppmfade(1), ppm(1).
85
86

AUTHOR

88       Arjen  Bax  wrote  ppmrainbow  in  June  2001 and contributed it to the
89       Netpbm package.  Bryan Henderson wrote this manual in July 2001.
90
91
92
93netpbm documentation            14 October 2005      Ppmrainbow User Manual(0)
Impressum