Rev | Author | # | Line |
---|---|---|---|
1 | perry | 1 | ppmpat |
2 | !!!ppmpat | ||
3 | NAME | ||
4 | SYNOPSIS | ||
5 | DESCRIPTION | ||
6 | OPTIONS | ||
7 | REFERENCES | ||
8 | SEE ALSO | ||
9 | AUTHOR | ||
10 | ---- | ||
11 | !!NAME | ||
12 | |||
13 | |||
14 | ppmpat - make a pretty pixmap | ||
15 | !!SYNOPSIS | ||
16 | |||
17 | |||
18 | __ppmpat -gingham2__|__-g2__|__-gingham3__| | ||
19 | __-g3__|__-madras__|__-tartan__| | ||
20 | __-poles__|__-squig__|__-camo__| __-anticamo__ | ||
21 | ''width height'' | ||
22 | !!DESCRIPTION | ||
23 | |||
24 | |||
25 | Produces a portable pixmap of the specified width and | ||
26 | height, with a pattern in it. | ||
27 | |||
28 | |||
29 | This program is mainly to demonstrate use of the ppmdraw | ||
30 | routines, a simple but powerful drawing library. See the | ||
31 | ppmdraw.h include file for more info on using these | ||
32 | routines. Still, some of the patterns can be rather pretty. | ||
33 | If you have a color workstation, something like __ppmpat | ||
34 | -squig 300 300 | ppmquant 128__ should generate a nice | ||
35 | background. | ||
36 | !!OPTIONS | ||
37 | |||
38 | |||
39 | The different flags specify various different pattern | ||
40 | types: | ||
41 | |||
42 | |||
43 | __-gingham2__ | ||
44 | |||
45 | |||
46 | A gingham check pattern. Can be tiled. | ||
47 | |||
48 | |||
49 | __-gingham3__ | ||
50 | |||
51 | |||
52 | A slightly more complicated gingham. Can be | ||
53 | tiled. | ||
54 | |||
55 | |||
56 | __-madras__ | ||
57 | |||
58 | |||
59 | A madras plaid. Can be tiled. | ||
60 | |||
61 | |||
62 | __-tartan__ | ||
63 | |||
64 | |||
65 | A tartan plaid. Can be tiled. | ||
66 | |||
67 | |||
68 | __-poles__ | ||
69 | |||
70 | |||
71 | Color gradients centered on randomly-placed poles. May need | ||
72 | to be run through ''ppmquant''. | ||
73 | |||
74 | |||
75 | __-squig__ | ||
76 | |||
77 | |||
78 | Squiggley tubular pattern. Can be tiled. May need to be run | ||
79 | through ''ppmquant''. | ||
80 | |||
81 | |||
82 | __-camo__ | ||
83 | |||
84 | |||
85 | Camouflage pattern. May need to be run through | ||
86 | ''ppmquant''. | ||
87 | |||
88 | |||
89 | __-anticamo__ | ||
90 | |||
91 | |||
92 | Anti-camouflage pattern - like -camo, but ultra-bright | ||
93 | colors. May need to be run through | ||
94 | ''ppmquant''. | ||
95 | |||
96 | |||
97 | All flags can be abbreviated to their shortest unique | ||
98 | prefix. | ||
99 | !!REFERENCES | ||
100 | |||
101 | |||
102 | Some of the patterns are from | ||
103 | !!SEE ALSO | ||
104 | |||
105 | |||
106 | pnmtile(1), ppmquant(1), ppm(5) | ||
107 | !!AUTHOR | ||
108 | |||
109 | |||
110 | Copyright (C) 1989 by Jef Poskanzer. | ||
111 | ---- |