.TL Pgmmake User Manual .SH 1 pgmmake .LP Updated: 19 February 2006 .br Table Of Contents .SH 2 NAME .LP pgmmake - create a PGM image of a specified gray level and dimensions .SH 2 SYNOPSIS .LP \fBpgmmake\fR \fB-maxval=\fR\fImaxval\fR \fIgraylevel\fR \fIwidth\fR \fIheight\fR .LP 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. .SH 2 DESCRIPTION .LP .LP This program is part of Netpbm. .LP \fBpgmmake\fR produces a PGM image of the specified gray level, width, height, and maxval. .LP Specify the gray level (\fIgraylevel\fR) 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. .SH 2 EXAMPLES .LP .DS L pgmmake 1 50 50 .DE .DS L pgmmake .2 50 100 -maxval=5 .DE .SH 2 OPTIONS .LP .RS .IP "\fB-maxval=\fR\fImaxval\fR" The maxval for the generated image. Default is 255. .RE .SH 2 SEE ALSO .LP pbmmake, ppmmake, pgm .SH 2 HISTORY .LP .LP This program was new in Netpbm 10.32 (February 2006). .LP With older Netpbm, use \fBppmmake\fR and \fBppmtopgm\fR. .br \l'5i' .SH 2 Table Of Contents .LP .IP \(bu SYNOPSIS .IP \(bu DESCRIPTION .IP \(bu EXAMPLES .IP \(bu OPTIONS .LP