summaryrefslogtreecommitdiffstats
path: root/upstream/fedora-rawhide/man1/ppmmake.1
blob: 5521ea0dd564432caf2173ad80e59b9916fb5578 (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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
\
.\" 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 "Ppmmake User Manual" 0 "02 September 2002" "netpbm documentation"

.SH NAME
ppmmake - create a PPM image of a specified color and dimensions

.UN synopsis
.SH SYNOPSIS

\fBppmmake\fP
[\fB-maxval=\fP\fImaxval\fP]
\fIcolor\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
\fBppmmake\fP produces a PPM image of the specified color, width,
height, and maxval.
.PP
Specify the color (\fIcolor\fP) as described for the 
.UR libnetpbm_image.html#colorname
argument of the \fBpnm_parsecolor()\fP library routine
.UE
\&.


.UN example
.SH EXAMPLES

.nf
    ppmmake red 50 50

.fi
.nf
    ppmmake rgb:ff/80/80 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
\&), \fBppmmake\fP recognizes the following
command line option:


.TP
\fB-maxval=\fP\fImaxval\fP
     The maxval for the generated image.  Default is 255.
.sp
     This option did not exist before June 2002.  Before, the maxval was
     always 255.


.UN seealso
.SH SEE ALSO
.BR "pbmmake" (1)\c
\&,
.BR "pgmmake" (1)\c
\&,
.BR "ppmpat" (1)\c
\&,
.BR "ppm" (1)\c
\&

.UN author
.SH AUTHOR

Copyright (C) 1991 by Jef Poskanzer.
.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/ppmmake.html
.PP