\ .\" This man page was generated by the Netpbm tool 'makeman' from HTML source. .\" Do not hand-hack it! If you have bug fixes or improvements, please find .\" the corresponding HTML page on the Netpbm website, generate a patch .\" against that, and send it to the Netpbm maintainer. .TH "Pgmmake User Manual" 0 "19 February 2006" "netpbm documentation" .SH NAME pgmmake - create a PGM image of a specified gray level and dimensions .UN synopsis .SH SYNOPSIS \fBpgmmake\fP [\fB-maxval=\fP\fImaxval\fP] \fIgraylevel\fP \fIwidth\fP \fIheight\fP .PP All options can be abbreviated to their shortest unique prefix. You may use two hyphens instead of one to designate an option. You may use either white space or an equals sign between an option name and its value. .UN description .SH DESCRIPTION .PP This program is part of .BR "Netpbm" (1)\c \&. .PP \fBpgmmake\fP produces a PGM image of the specified gray level, width, height, and maxval. .PP Specify the gray level (\fIgraylevel\fP) as a decimal floating point number in the range [0, 1]. E.g. 1 is white, 0 is black, and 0.5 is half luminosity gray. .UN example .SH EXAMPLES .nf pgmmake 1 50 50 .fi .nf pgmmake .2 50 100 -maxval=5 .fi .UN options .SH OPTIONS .PP In addition to the options common to all programs based on libnetpbm (most notably \fB-quiet\fP, see .UR index.html#commonoptions Common Options .UE \&), \fBpgmmake\fP recognizes the following command line option: .TP \fB-maxval=\fP\fImaxval\fP The maxval for the generated image. Default is 255. .UN seealso .SH SEE ALSO .BR "pbmmake" (1)\c \&, .BR "ppmmake" (1)\c \&, .BR "pgm" (1)\c \& .UN history .SH HISTORY .PP This program was new in Netpbm 10.32 (February 2006). .PP With older Netpbm, use \fBppmmake\fP and \fBppmtopgm\fP. .SH DOCUMENT SOURCE This manual page was generated by the Netpbm tool 'makeman' from HTML source. The master documentation is at .IP .B http://netpbm.sourceforge.net/doc/pgmmake.html .PP