Rev | Author | # | Line |
---|---|---|---|
1 | perry | 1 | ppmmake |
2 | !!!ppmmake | ||
3 | NAME | ||
4 | SYNOPSIS | ||
5 | DESCRIPTION | ||
6 | SEE ALSO | ||
7 | AUTHOR | ||
8 | ---- | ||
9 | !!NAME | ||
10 | |||
11 | |||
12 | ppmmake - create a pixmap of a specified size and color | ||
13 | !!SYNOPSIS | ||
14 | |||
15 | |||
16 | __ppmmake__ ''color width height'' | ||
17 | !!DESCRIPTION | ||
18 | |||
19 | |||
20 | Produces a portable pixmap of the specified color, width, | ||
21 | and height. | ||
22 | |||
23 | |||
24 | The color can be specified in five ways: | ||
25 | |||
26 | |||
27 | o | ||
28 | |||
29 | |||
30 | A name, assuming that a pointer to an X11-style color names | ||
31 | file was compiled in. | ||
32 | |||
33 | |||
34 | o | ||
35 | |||
36 | |||
37 | An X11-style hexadecimal specifier: rgb:r/g/b, where r g and | ||
38 | b are each 1- to 4-digit hexadecimal numbers. | ||
39 | |||
40 | |||
41 | o | ||
42 | |||
43 | |||
44 | An X11-style decimal specifier: rgbi:r/g/b, where r g and b | ||
45 | are floating point numbers between 0 and 1. | ||
46 | |||
47 | |||
48 | o | ||
49 | |||
50 | |||
51 | For backwards compatibility, an old-X11-style hexadecimal | ||
52 | number: #rgb, #rrggbb, #rrrgggbbb, or | ||
53 | #rrrrggggbbbb. | ||
54 | |||
55 | |||
56 | o | ||
57 | |||
58 | |||
59 | For backwards compatibility, a triplet of numbers separated | ||
60 | by commas: r,g,b, where r g and b are floating point numbers | ||
61 | between 0 and 1. (This style was added before MIT came up | ||
62 | with the similar rgbi style.) | ||
63 | !!SEE ALSO | ||
64 | |||
65 | |||
66 | ppm(5), pbmmake(1) | ||
67 | !!AUTHOR | ||
68 | |||
69 | |||
70 | Copyright (C) 1991 by Jef Poskanzer. | ||
71 | ---- |