| 1 |
\ |
| 2 |
.\" This man page was generated by the Netpbm tool 'makeman' from HTML source. |
| 3 |
.\" Do not hand-hack it! If you have bug fixes or improvements, please find |
| 4 |
.\" the corresponding HTML page on the Netpbm website, generate a patch |
| 5 |
.\" against that, and send it to the Netpbm maintainer. |
| 6 |
.TH "Ppmmake User Manual" 1 "02 September 2002" "netpbm documentation" |
| 7 |
|
| 8 |
.SH NAME |
| 9 |
ppmmake - create a PPM image of a specified color and dimensions |
| 10 |
|
| 11 |
.UN synopsis |
| 12 |
.SH SYNOPSIS |
| 13 |
|
| 14 |
\fBppmmake\fP |
| 15 |
[\fB-maxval=\fP\fImaxval\fP] |
| 16 |
\fIcolor\fP |
| 17 |
\fIwidth\fP |
| 18 |
\fIheight\fP |
| 19 |
.PP |
| 20 |
All options can be abbreviated to their shortest unique prefix. |
| 21 |
You may use two hyphens instead of one to designate an option. You |
| 22 |
may use either white space or an equals sign between an option name |
| 23 |
and its value. |
| 24 |
|
| 25 |
|
| 26 |
.UN description |
| 27 |
.SH DESCRIPTION |
| 28 |
.PP |
| 29 |
This program is part of |
| 30 |
.BR "Netpbm" (1)\c |
| 31 |
\&. |
| 32 |
.PP |
| 33 |
\fBppmmake\fP produces a PPM image of the specified color, width, |
| 34 |
height, and maxval. |
| 35 |
.PP |
| 36 |
Specify the color (\fIcolor\fP) as described for the |
| 37 |
.UR libnetpbm_image.html#colorname |
| 38 |
argument of the \fBpnm_parsecolor()\fP library routine |
| 39 |
.UE |
| 40 |
\&. |
| 41 |
|
| 42 |
|
| 43 |
.UN example |
| 44 |
.SH EXAMPLES |
| 45 |
|
| 46 |
.nf |
| 47 |
ppmmake red 50 50 |
| 48 |
|
| 49 |
.fi |
| 50 |
.nf |
| 51 |
ppmmake rgb:ff/80/80 50 100 -maxval=5 |
| 52 |
|
| 53 |
.fi |
| 54 |
|
| 55 |
|
| 56 |
.UN options |
| 57 |
.SH OPTIONS |
| 58 |
.PP |
| 59 |
In addition to the options common to all programs based on libnetpbm |
| 60 |
(most notably \fB-quiet\fP, see |
| 61 |
.UR index.html#commonoptions |
| 62 |
Common Options |
| 63 |
.UE |
| 64 |
\&), \fBppmmake\fP recognizes the following |
| 65 |
command line option: |
| 66 |
|
| 67 |
|
| 68 |
.TP |
| 69 |
\fB-maxval=\fP\fImaxval\fP |
| 70 |
The maxval for the generated image. Default is 255. |
| 71 |
.sp |
| 72 |
This option did not exist before June 2002. Before, the maxval was |
| 73 |
always 255. |
| 74 |
|
| 75 |
|
| 76 |
.UN seealso |
| 77 |
.SH SEE ALSO |
| 78 |
.BR "pbmmake" (1)\c |
| 79 |
\&, |
| 80 |
.BR "pgmmake" (1)\c |
| 81 |
\&, |
| 82 |
.BR "ppmpat" (1)\c |
| 83 |
\&, |
| 84 |
.BR "ppm" (1)\c |
| 85 |
\& |
| 86 |
|
| 87 |
.UN author |
| 88 |
.SH AUTHOR |
| 89 |
|
| 90 |
Copyright (C) 1991 by Jef Poskanzer. |
| 91 |
.SH DOCUMENT SOURCE |
| 92 |
This manual page was generated by the Netpbm tool 'makeman' from HTML |
| 93 |
source. The master documentation is at |
| 94 |
.IP |
| 95 |
.B http://netpbm.sourceforge.net/doc/ppmmake.html |
| 96 |
.PP |