Plan 9 from Bell Labs’s /usr/web/sources/contrib/pac/sys/doc/netpbm/ms/ppmmake.ms

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


.TL
Ppmmake User Manual
.SH 1
ppmmake
.LP
Updated: 02 September 2002
.br
Table Of Contents
.SH 2
NAME
.LP
ppmmake - create a PPM image of a specified color and dimensions
.SH 2
SYNOPSIS
.LP
\fBppmmake\fR
\fB-maxval=\fR\fImaxval\fR
\fIcolor\fR
\fIwidth\fR
\fIheight\fR
.LP
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.
.SH 2
DESCRIPTION
.LP
.LP
This program is part of Netpbm.
.LP
\fBppmmake\fR produces a PPM image of the specified color, width,
height, and maxval.
.LP
Specify the color (\fIcolor\fR) as described for the argument of the \fBppm_parsecolor()\fR
library routine.
.SH 2
EXAMPLES
.LP
.DS L
    ppmmake red 50 50
.DE
.DS L
    ppmmake rgb:ff/80/80 50 100 -maxval=5
.DE
.SH 2
OPTIONS
.LP
.RS
.IP "\fB-maxval=\fR\fImaxval\fR"
The maxval for the generated image.  Default is 255.
.LP
This option did not exist before June 2002.  Before, the maxval was
always 255.
.RE
.SH 2
SEE ALSO
.LP
pbmmake,
pgmmake,
ppmpat,
ppm
.SH 2
AUTHOR
.LP
Copyright (C) 1991 by Jef Poskanzer.
.br
\l'5i'
.SH 2
Table Of Contents
.LP
.IP \(bu
NAME
.IP \(bu
SYNOPSIS
.IP \(bu
DESCRIPTION
.IP \(bu
EXAMPLES
.IP \(bu
OPTIONS
.IP \(bu
AUTHOR
.LP

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to webmaster@9p.io.