OpenSuSE Man Pages

Man Page or Keyword Search:
Man Architecture
Apropos Keyword Search (all sections) Output format
home | help
x SuSE Linux 13.1-RELEASE x
x SuSE Linux 13.1-RELEASEx
Ppmpat User Manual(0)                                    Ppmpat User Manual(0)

NAME
       ppmpat - make a pretty PPM image

SYNOPSIS
       ppmpat {-gingham2|-g2} | {-gingham3|-g3} | -madras | -tartan | -poles |
       -squig | -camo | -anticamo -argyle1 -argyle2 [-color  colorlist  [-ran-
       domseed integer]

       width height

       You can abbreviate any option to its shortest unique prefix.

DESCRIPTION
       This program is part of Netpbm(1).

       ppmpat produces a PPM of the specified width and height, with a pattern
       in it.

       You could, for example, use it  to  create  wallpaper  for  a  computer
       screen.

       One  use  of  this program is as an example of the Netpbm library draw-
       ing(3) functions, which it uses.

       Some of the patterns have large numbers of colors, so  if  you  want  a
       simpler pattern, use pnmquant on the output.

OPTIONS
       The options specify various pattern types:

       -gingham2
              A gingham check pattern.  Can be tiled.

              If  you  specify  -color,  give two colors: background and fore-
              ground, in that order.

       -gingham3
              A slightly more complicated gingham.  Can be tiled.

              If you specify -color, give three  colors:  background  and  two
              foregrounds, in that order.

       -madras
              A madras plaid.  Can be tiled.

              If  you  specify  -color,  give three colors: background and two
              foregrounds, in that order.

       -tartan
              A tartan plaid.  Can be tiled.

              If you specify -color, give three  colors:  background  and  two
              foregrounds, in that order.

       -poles Color gradients centered on randomly-placed poles.

              If you specify -color, give two or more colors.

       -squig Squiggley tubular pattern.  Can be tiled.

              If  you specify -color, give three or more colors.  The first is
              the background color.

       -camo  Camouflage pattern.

              If you specify -color, give three or more colors.  The first  is
              the  background color; the others are colors for the leafy fore-
              ground shapes.   The  foreground  shapes  will  probably  occupy
              nearly  the entire image, so that the background color is barely
              visible.

       -anticamo
              Anti-camouflage pattern - like -camo, but ultra-bright colors.

              If you specify -color, this is the same as -camo.

       -argyle1
              A diamond argyle pattern, without a cross through  the  diamond,
              with one diamond.  Can be tiled.

              If  you  specify  -color,  give two colors: background and fore-
              ground, in that order.

              This option was new in Netpbm 10.78 (March 2017).

       -argyle2
              A diamond argyle pattern, with a cross through the diamond, with
              one diamond.  Can be tiled.

              If  you  specify  -color,  give  three colors: background, fore-
              ground, and stripe, in that order.

              This option was new in Netpbm 10.78 (March 2017).

       -color colorlist
              This specifies the colors to appear in the pattern.

              If you do not specify this option, ppmpat chooses colors at ran-
              dom.

              Different  patterns  take different numbers of colors.  Some can
              involve variable numbers of colors.  If you specify a number  of
              colors  incompatible with the pattern you specify, ppmpat fails,
              telling you how many colors to specify.

              colorlist is a comma-separated list of colors.

              Specify  each  color  as  described  for  the  argument  of  the
              ppm_parsecolor() library routine <libppm.html#colorname> .

              Example: -color red, green, rgbi:1.0/0.5/.25 .

              This option was new in Netpbm 10.78 (March 2017).

       -randomseed integer
              This  is the seed for the random number generator that generates
              the pixels.

              Use this to ensure you get the same image  on  separate  invoca-
              tions.

              By  default, ppmpat uses a seed derived from the time of day and
              process ID, which gives you fairly uncorrelated results in  mul-
              tiple invocations.

              This option was new in Netpbm 10.61 (December 2012).

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

SEE ALSO
       pnmtile(1),  pnmquant(1),  ppmmake(1),  ppmrainbow(1),  pamgradient(1),
       ppm(5)

AUTHOR
       Copyright (C) 1989 by Jef Poskanzer.

DOCUMENT SOURCE
       This  manual  page was generated by the Netpbm tool 'makeman' from HTML
       source.  The master documentation is at

              http://netpbm.sourceforge.net/doc/ppmpat.html

netpbm documentation             2 March 2016            Ppmpat User Manual(0)

Want to link to this manual page? Use this URL:
<
http://star2.abcm.com/cgi-bin/bsdi-man?query=ppmpat&sektion=1&manpath=>

home | help