| 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 "Pgmmake User Manual" 1 "19 February 2006" "netpbm documentation" |
| 7 |
|
| 8 |
.SH NAME |
| 9 |
pgmmake - create a PGM image of a specified gray level and dimensions |
| 10 |
|
| 11 |
.UN synopsis |
| 12 |
.SH SYNOPSIS |
| 13 |
|
| 14 |
\fBpgmmake\fP |
| 15 |
[\fB-maxval=\fP\fImaxval\fP] |
| 16 |
\fIgraylevel\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 |
\fBpgmmake\fP produces a PGM image of the specified gray level, width, |
| 34 |
height, and maxval. |
| 35 |
.PP |
| 36 |
Specify the gray level (\fIgraylevel\fP) as a decimal floating point |
| 37 |
number in the range [0, 1]. E.g. 1 is white, 0 is black, and 0.5 is |
| 38 |
half luminosity gray. |
| 39 |
|
| 40 |
.UN example |
| 41 |
.SH EXAMPLES |
| 42 |
|
| 43 |
.nf |
| 44 |
pgmmake 1 50 50 |
| 45 |
|
| 46 |
.fi |
| 47 |
.nf |
| 48 |
pgmmake .2 50 100 -maxval=5 |
| 49 |
|
| 50 |
.fi |
| 51 |
|
| 52 |
|
| 53 |
.UN options |
| 54 |
.SH OPTIONS |
| 55 |
.PP |
| 56 |
In addition to the options common to all programs based on libnetpbm |
| 57 |
(most notably \fB-quiet\fP, see |
| 58 |
.UR index.html#commonoptions |
| 59 |
Common Options |
| 60 |
.UE |
| 61 |
\&), \fBpgmmake\fP recognizes the following |
| 62 |
command line option: |
| 63 |
|
| 64 |
|
| 65 |
.TP |
| 66 |
\fB-maxval=\fP\fImaxval\fP |
| 67 |
The maxval for the generated image. Default is 255. |
| 68 |
|
| 69 |
|
| 70 |
.UN seealso |
| 71 |
.SH SEE ALSO |
| 72 |
.BR "pbmmake" (1)\c |
| 73 |
\&, |
| 74 |
.BR "ppmmake" (1)\c |
| 75 |
\&, |
| 76 |
.BR "pgm" (1)\c |
| 77 |
\& |
| 78 |
|
| 79 |
.UN history |
| 80 |
.SH HISTORY |
| 81 |
.PP |
| 82 |
This program was new in Netpbm 10.32 (February 2006). |
| 83 |
.PP |
| 84 |
With older Netpbm, use \fBppmmake\fP and \fBppmtopgm\fP. |
| 85 |
.SH DOCUMENT SOURCE |
| 86 |
This manual page was generated by the Netpbm tool 'makeman' from HTML |
| 87 |
source. The master documentation is at |
| 88 |
.IP |
| 89 |
.B http://netpbm.sourceforge.net/doc/pgmmake.html |
| 90 |
.PP |