about summary refs log tree commit diff
path: root/ppmmake.html
blob: f60859ab0ac95f92d78cb1b98e1e9ad4d28d5d4b (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
87
88
89
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//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>

<A NAME="lbAB">&nbsp;</A>
<H2>NAME</H2>
ppmmake - create a PPM image of a specified color and dimensions

<A NAME="lbAC">&nbsp;</A>
<H2>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.


<A NAME="lbAD">&nbsp;</A>
<H2>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="libppm.html#colorname">argument of the <b>ppm_parsecolor()</b>
library routine</a>.


<A NAME="example">&nbsp;</a>
<h2>EXAMPLES</H2>

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


<A NAME="options">&nbsp;</A>
<H2>OPTIONS</H2>

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

<A NAME="lbAE">&nbsp;</A>
<H2>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>

<A NAME="lbAF">&nbsp;</A>
<H2>AUTHOR</H2>

Copyright (C) 1991 by Jef Poskanzer.

<HR>
<A NAME="index">&nbsp;</A>
<H2>Table Of Contents</H2>
<UL>
<LI><A HREF="#lbAB">NAME</A>
<LI><A HREF="#lbAC">SYNOPSIS</A>
<LI><A HREF="#lbAD">DESCRIPTION</A>
<LI><A HREF="#example">EXAMPLES</A>
<LI><A HREF="#options">OPTIONS</A>
<LI><A HREF="#lbAF">AUTHOR</A>
</UL>
</BODY>
</HTML>