Amiga Unix — 68040 · 68060

Manual pages › X Window System programs (1X)

ppmpat(1X)

make a pretty pixmap

From the original Amiga UNIX 2.1 manual. Some things it mentions may not be in this release.

pbmpat - make a pretty pixmap

pbmpat -gingham2|-g2|-gingham3|-g3|-madras|-tartan|-poles|-squig|camo|-anticamo <width> <height>

Produces a portable pixmap of the specified width and height, with a pattern in it. The different flags specify various different pattern types:

A gingham check pattern. Can be tiled.
A slightly more complicated gingham. Can be tiled.
A madras plaid. Can be tiled.
A tartan plaid. Can be tiled.
Color gradients centered on randomly-placed poles. May need to be run through ppmquant.
Squiggley tubular pattern. Can be tiled. May need to be run through ppmquant.
Camouflage pattern. May need to be run through ppmquant.
Anti-camouflage pattern -- like -camo, but ultra-bright colors. May need to be run through ppmquant.

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.

All flags can be abbreviated to their shortest unique prefix.

Some of the patterns are from "Designer's Guide to Color 3" by Jeanne Allen.

ppmtile(1), ppmquant(1), ppm(5)

Copyright (C) 1989 by Jef Poskanzer.

Permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby granted, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation. This software is provided "as is" without express or implied warranty.

04 September 1989