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

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


.TL
Ppmpat User Manual
.SH 1
ppmpat
.LP
Updated: 12 June 2004
.br
Table Of Contents
.SH 2
NAME
.LP
ppmpat - make a pretty PPM image
.SH 2
SYNOPSIS
.LP
\fBppmpat\fR
{\fB-gingham2\fR|\fB-g2\fR} |
{\fB-gingham3\fR|\fB-g3\fR} |
\fB-madras\fR |
\fB-tartan\fR |
\fB-poles\fR |
\fB-squig\fR |
\fB-camo\fR |
\fB-anticamo\fR
\fIwidth\fR \fIheight\fR
.LP
You can abbreviate any option to its shortest unique prefix.
.SH 2
DESCRIPTION
.LP
.LP
This program is part of Netpbm.
.LP
\fBppmpat\fR produces a PPM of the specified width and height,
with a pattern in it.
.LP
This program is mainly to demonstrate use of the ppmdraw routines,
a simple but powerful drawing library.  See the ppmdraw.h include file
for more info on using these routines.  Still, some of the patterns
can be rather pretty.  If you have a color workstation, something like
\fBppmpat -squig 300 300 | pnmquant 128\fR
should generate a nice background.
.LP
Some of these patterns have large numbers of colors, so if you want
a simpler pattern, use \fBpnmquant\fR on the output.
.SH 2
OPTIONS
.LP
.LP
The options specify various pattern types:
.RS
.IP "\fB-gingham2\fR"
A gingham check pattern.  Can be tiled.
.IP "\fB-gingham3\fR"
A slightly more complicated gingham.  Can be tiled.
.IP "\fB-madras\fR"
A madras plaid.  Can be tiled.
.IP "\fB-tartan\fR"
A tartan plaid.  Can be tiled.
.IP "\fB-poles\fR"
Color gradients centered on randomly-placed poles.
.IP "\fB-squig\fR"
Squiggley tubular pattern.  Can be tiled.
.IP "\fB-camo\fR"
Camouflage pattern.
.IP "\fB-anticamo\fR"
Anti-camouflage pattern - like -camo, but ultra-bright colors.
.RE
.SH 2
REFERENCES
.LP
Some of the patterns are from "Designer's Guide to Color 3"
by Jeanne Allen.
.SH 2
SEE ALSO
.LP
pnmtile, 
pnmquant, 
ppmmake, 
ppmrainbow, 
pamgradient, 
ppm
.SH 2
AUTHOR
.LP
Copyright (C) 1989 by Jef Poskanzer.
.br
\l'5i'
.SH 2
Table Of Contents
.LP
.IP \(bu
NAME
.IP \(bu
SYNOPSIS
.IP \(bu
DESCRIPTION
.IP \(bu
OPTIONS
.IP \(bu
REFERENCES
.IP \(bu
SEE ALSO
.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.