blob: f21d62a2f85612ddd8dce4289447b5996b0f28f5 (
plain)
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
|
\
.\" 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
.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" (5)\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
|