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.
21
22       If  you want a vertical or other non-horizontal rainbow, run the output
23       through pnmrotate or pamflip.
24
25       One use for such a rainbow is to compose it with another image under  a
26       transparency  mask in order to add a rainbow area to another image.  In
27       fact, you can make rainbow-colored text by using pbmtext, pamcomp,  and
28       ppmrainbow.
29
30       pgmramp does a similar thing for grayscale images.
31
32       If  you just want an image containing all the possible colors (for some
33       kind of processing; not to look at), see pamseq.
34
35
36

ARGUMENTS

38       color ... is the list of colors, in order from left  to  right,  to  go
39       into the rainbow.
40
41       The first color is added again on the right end of the image unless you
42       specify the -norepeat option.  This means you can concatenate  multiple
43       copies (tile, as with pnmtile) to make a continuous larger image.
44
45       color  is as described for the argument of the pnm_parsecolor() library
46       routine ⟨libnetpbm_image.html#colorname⟩ .
47
48
49

OPTIONS

51       All options can be abbreviated to their shortest  unique  prefix.   You
52       may use two hyphens instead of one to designate an option.  You may use
53       either white space or equals signs  between  an  option  name  and  its
54       value.
55
56
57
58       -width number
59              The width in pixels of the output image.
60
61              Default is 600.
62
63
64       -height number
65              The height in pixels of the output image.
66
67              Default is 8.
68
69
70       -norepeat
71
72              This option makes ppmrainbow end the rainbow with the last color
73              you specify.  Without this option,  ppmrainbow  adds  the  first
74              color  you specify to the right end of the rainbow as if you had
75              repeated it.
76
77
78       -tmpdir
79              The directory specification of the directory  ppmrainbow  is  to
80              use for temporary files.
81
82              Default is the value of the TMPDIR environment variable, or /tmp
83              if TMPDIR is not set.
84
85              ppmrainbow always creates a directory within this directory  and
86              creates all its files within that directory.
87
88
89       -verbose
90              Print the "commands" (invocations of other Netpbm programs) that
91              ppmrainbow uses to create the image.
92
93
94
95

SEE ALSO

97       pgmramp(1), pamseq(1), pamgradient(1), ppmmake(1), ppmfade(1), ppm(1).
98
99

AUTHOR

101       Arjen Bax wrote ppmrainbow in June  2001  and  contributed  it  to  the
102       Netpbm package.  Bryan Henderson wrote this manual in July 2001.
103

DOCUMENT SOURCE

105       This  manual  page was generated by the Netpbm tool 'makeman' from HTML
106       source.  The master documentation is at
107
108              http://netpbm.sourceforge.net/doc/ppmrainbow.html
109
110netpbm documentation           12 November 2014      Ppmrainbow User Manual(0)
Impressum