summary refs log tree commit diff
path: root/ppmmake.html
blob: d49a5e32d61117a60dccb17fdce477f84cb4fd5d (plain) (blame)
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
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.3//EN">
<html><head><title>Ppmmake User Manual</title></head>
<body>
<h1>ppmmake</h1>
Updated: 02 September 2002
<br>
<a href="#index">Table Of Contents</a>

<h2>NAME</h2>
ppmmake - create a PPM image of a specified color and dimensions

<h2 id="synopsis">SYNOPSIS</h2>

<b>ppmmake</b>
[<b>-maxval=</b><i>maxval</i>]
<i>color</i>
<i>width</i>
<i>height</i>

<p>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.


<h2 id="description">DESCRIPTION</h2>

<p>This program is part of <a href="index.html">Netpbm</a>.

<p><b>ppmmake</b> produces a PPM image of the specified color, width,
height, and maxval.

<p>Specify the color (<i>color</i>) as described for the <a
href="libnetpbm_image.html#colorname">argument of the <b>pnm_parsecolor()</b>
library routine</a>.


<h2 id="example">EXAMPLES</h2>

<pre>
    ppmmake red 50 50
</pre>
<pre>
    ppmmake rgb:ff/80/80 50 100 -maxval=5
</pre>


<h2 id="options">OPTIONS</h2>

<p>In addition to the options common to all programs based on libnetpbm
(most notably <b>-quiet</b>, see <a href="index.html#commonoptions">
Common Options</a>), <b>ppmmake</b> recognizes the following
command line option:

<dl>
<dt><b>-maxval=</b><i>maxval</i>
<dd>
     The maxval for the generated image.  Default is 255.
<p>
     This option did not exist before June 2002.  Before, the maxval was
     always 255.
</dl>

<h2 id="seealso">SEE ALSO</h2>

<a href="pbmmake.html">pbmmake</a>,
<a href="pgmmake.html">pgmmake</a>,
<a href="ppmpat.html">ppmpat</a>,
<a href="ppm.html">ppm</a>

<h2 id="author">AUTHOR</h2>

Copyright (C) 1991 by Jef Poskanzer.

<hr>
<h2 id="index">Table Of Contents</h2>
<ul>
<li><a href="#synopsis">SYNOPSIS</a>
<li><a href="#description">DESCRIPTION</a>
<li><a href="#example">EXAMPLES</a>
<li><a href="#options">OPTIONS</a>
<li><a href="#seealso">SEE ALSO</a>
<li><a href="#author">AUTHOR</a>
</ul>
</body>
</html>