1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
|
\
.\" 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
|