version 1 showing authors affecting page license.
.
Rev |
Author |
# |
Line |
1 |
perry |
1 |
ppmrainbow |
|
|
2 |
!!!ppmrainbow |
|
|
3 |
NAME |
|
|
4 |
SYNOPSIS |
|
|
5 |
DESCRIPTION |
|
|
6 |
OPTIONS |
|
|
7 |
SEE ALSO |
|
|
8 |
AUTHOR |
|
|
9 |
---- |
|
|
10 |
!!NAME |
|
|
11 |
|
|
|
12 |
|
|
|
13 |
ppmrainbow - Generate a rainbow |
|
|
14 |
!!SYNOPSIS |
|
|
15 |
|
|
|
16 |
|
|
|
17 |
__ppmrainbow__ [[__-width=__''number''] |
|
|
18 |
[[__-height=__''number''] |
|
|
19 |
[[__-tmpdir=__''directory''] [[__-verbose__] |
|
|
20 |
''color'' ... |
|
|
21 |
|
|
|
22 |
|
|
|
23 |
All options can be abbreviated to their shortest unique |
|
|
24 |
prefix. You may use two hyphens instead of one to designate |
|
|
25 |
an option. You may use either white space or equals signs |
|
|
26 |
between an option name and its value. |
|
|
27 |
!!DESCRIPTION |
|
|
28 |
|
|
|
29 |
|
|
|
30 |
__ppmrainbow__ generates a PPM image that fades from one |
|
|
31 |
color to another to another from left to right, like a |
|
|
32 |
rainbow. The colors are those you specify on the command |
|
|
33 |
line, in that order. The first color is added again on the |
|
|
34 |
right end of the image. |
|
|
35 |
|
|
|
36 |
|
|
|
37 |
If you want a vertical or other non-horizontal rainbow, run |
|
|
38 |
the output through __pnmrotate__. |
|
|
39 |
|
|
|
40 |
|
|
|
41 |
One use for such a rainbow is to compose it with another |
|
|
42 |
image under an alpha mask in order to add a rainbow area to |
|
|
43 |
another image. In fact, you can make rainbow-colored text by |
|
|
44 |
using __pbmtext__, __pnmcomp__, and |
|
|
45 |
__ppmrainbow__. |
|
|
46 |
!!OPTIONS |
|
|
47 |
|
|
|
48 |
|
|
|
49 |
__-width__ ''number'' |
|
|
50 |
|
|
|
51 |
|
|
|
52 |
The width in pixels of the output image. |
|
|
53 |
|
|
|
54 |
|
|
|
55 |
Default is 600. |
|
|
56 |
|
|
|
57 |
|
|
|
58 |
__-height__ ''number'' |
|
|
59 |
|
|
|
60 |
|
|
|
61 |
The height in pixels of the output image. |
|
|
62 |
|
|
|
63 |
|
|
|
64 |
Default is 8. |
|
|
65 |
|
|
|
66 |
|
|
|
67 |
__-tmpdir__ |
|
|
68 |
|
|
|
69 |
|
|
|
70 |
The directory specification of the directory |
|
|
71 |
__ppmrainbow__ is to use for temporary |
|
|
72 |
files. |
|
|
73 |
|
|
|
74 |
|
|
|
75 |
Default is the value of the __TMPDIR__ environment |
|
|
76 |
variable, or ''/tmp'' if __TMPDIR__ is not |
|
|
77 |
set. |
|
|
78 |
|
|
|
79 |
|
|
|
80 |
__-verbose__ |
|
|
81 |
|
|
|
82 |
|
|
|
83 |
Print the |
|
|
84 |
ppmrainbow__ uses to create the |
|
|
85 |
image. |
|
|
86 |
!!SEE ALSO |
|
|
87 |
|
|
|
88 |
|
|
|
89 |
ppmmake(1), pnmcomp(1), pbmtext(1), |
|
|
90 |
ppmfade(1), ppm(5). |
|
|
91 |
!!AUTHOR |
|
|
92 |
|
|
|
93 |
|
|
|
94 |
Arjen Bax wrote __ppmrainbow__ in June 2001 and |
|
|
95 |
contributed it to the Netpbm package. Bryan Henderson wrote |
|
|
96 |
this man page in July 2001. |
|
|
97 |
---- |