1Pgmmake User Manual(0) Pgmmake User Manual(0)
2
3
4
6 pgmmake - create a PGM image of a specified gray level and dimensions
7
8
10 pgmmake [-maxval=maxval] graylevel width height
11
12 All options can be abbreviated to their shortest unique prefix. You
13 may use two hyphens instead of one to designate an option. You may use
14 either white space or an equals sign between an option name and its
15 value.
16
17
18
20 This program is part of Netpbm(1).
21
22 pgmmake produces a PGM image of the specified gray level, width,
23 height, and maxval.
24
25 Specify the gray level (graylevel) as a decimal floating point number
26 in the range [0, 1]. E.g. 1 is white, 0 is black, and 0.5 is half lu‐
27 minosity gray.
28
29
31 pgmmake 1 50 50
32
33 pgmmake .2 50 100 -maxval=5
34
35
36
37
39 In addition to the options common to all programs based on libnetpbm
40 (most notably -quiet, see
41 Common Options ⟨index.html#commonoptions⟩ ), pgmmake recognizes the
42 following command line option:
43
44
45
46 -maxval=maxval
47 The maxval for the generated image. Default is 255.
48
49
50
52 pbmmake(1), ppmmake(1), pgm(1)
53
54
56 This program was new in Netpbm 10.32 (February 2006).
57
58 With older Netpbm, use ppmmake and ppmtopgm.
59
61 This manual page was generated by the Netpbm tool 'makeman' from HTML
62 source. The master documentation is at
63
64 http://netpbm.sourceforge.net/doc/pgmmake.html
65
66netpbm documentation 19 February 2006 Pgmmake User Manual(0)