man-pages/man1/ppmpat.1.html
2021-03-31 01:06:50 +01:00

138 lines
3.0 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Man page of ppmpat</TITLE>
</HEAD><BODY>
<H1>ppmpat</H1>
Section: User Commands (1)<BR>Updated: 04 September 1989<BR><A HREF="#index">Index</A>
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
<A NAME="ixAAB"></A>
<A NAME="lbAB">&nbsp;</A>
<H2>NAME</H2>
ppmpat - make a pretty pixmap
<A NAME="lbAC">&nbsp;</A>
<H2>SYNOPSIS</H2>
<B>ppmpat</B>
<B>-gingham2</B>|<B>-g2</B>|<B>-gingham3</B>|
<B>-g3</B>|<B>-madras</B>|<B>-tartan</B>|
<B>-poles</B>|<B>-squig</B>|<B>-camo</B>|
<B>-anticamo</B>
<I>width height</I>
<A NAME="lbAD">&nbsp;</A>
<H2>DESCRIPTION</H2>
Produces a portable pixmap of the specified width and height,
with a pattern in it.
<A NAME="ixAAC"></A>
<P>
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
<B>ppmpat -squig 300 300 | ppmquant 128</B>
should generate a nice background.
<A NAME="lbAE">&nbsp;</A>
<H2>OPTIONS</H2>
<P>
The different flags specify various different pattern types:
<DL COMPACT>
<DT id="1"><B>-gingham2</B>
<DD>
A gingham check pattern. Can be tiled.
<DT id="2"><B>-gingham3</B>
<DD>
A slightly more complicated gingham. Can be tiled.
<DT id="3"><B>-madras</B>
<DD>
A madras plaid. Can be tiled.
<DT id="4"><B>-tartan</B>
<DD>
A tartan plaid. Can be tiled.
<DT id="5"><B>-poles</B>
<DD>
Color gradients centered on randomly-placed poles.
May need to be run through
<I>ppmquant</I>.
<DT id="6"><B>-squig</B>
<DD>
Squiggley tubular pattern. Can be tiled.
May need to be run through
<I>ppmquant</I>.
<DT id="7"><B>-camo</B>
<DD>
Camouflage pattern.
May need to be run through
<I>ppmquant</I>.
<DT id="8"><B>-anticamo</B>
<DD>
Anti-camouflage pattern - like -camo, but ultra-bright colors.
May need to be run through
<I>ppmquant</I>.
</DL>
<P>
All flags can be abbreviated to their shortest unique prefix.
<A NAME="lbAF">&nbsp;</A>
<H2>REFERENCES</H2>
Some of the patterns are from &quot;Designer's Guide to Color 3&quot; by Jeanne Allen.
<A NAME="lbAG">&nbsp;</A>
<H2>SEE ALSO</H2>
<A HREF="/cgi-bin/man/man2html?1+pnmtile">pnmtile</A>(1), <A HREF="/cgi-bin/man/man2html?1+ppmquant">ppmquant</A>(1), <A HREF="/cgi-bin/man/man2html?5+ppm">ppm</A>(5)
<A NAME="lbAH">&nbsp;</A>
<H2>AUTHOR</H2>
Copyright (C) 1989 by Jef Poskanzer.
<P>
<HR>
<A NAME="index">&nbsp;</A><H2>Index</H2>
<DL>
<DT id="9"><A HREF="#lbAB">NAME</A><DD>
<DT id="10"><A HREF="#lbAC">SYNOPSIS</A><DD>
<DT id="11"><A HREF="#lbAD">DESCRIPTION</A><DD>
<DT id="12"><A HREF="#lbAE">OPTIONS</A><DD>
<DT id="13"><A HREF="#lbAF">REFERENCES</A><DD>
<DT id="14"><A HREF="#lbAG">SEE ALSO</A><DD>
<DT id="15"><A HREF="#lbAH">AUTHOR</A><DD>
</DL>
<HR>
This document was created by
<A HREF="/cgi-bin/man/man2html">man2html</A>,
using the manual pages.<BR>
Time: 00:05:25 GMT, March 31, 2021
</BODY>
</HTML>