diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2017-03-04 02:44:59 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2017-03-04 02:44:59 +0000 |
commit | 9cbe7246f623a63757becaf217efdc14d423cab6 (patch) | |
tree | dda7727a04c363260da5edeae6b3e7c5176340c3 /ppmpat.html | |
parent | 8cfc65c23f461d98c4e4a879cf500bd793caf25f (diff) | |
download | netpbm-mirror-9cbe7246f623a63757becaf217efdc14d423cab6.tar.gz netpbm-mirror-9cbe7246f623a63757becaf217efdc14d423cab6.tar.xz netpbm-mirror-9cbe7246f623a63757becaf217efdc14d423cab6.zip |
miscellaneous update
git-svn-id: http://svn.code.sf.net/p/netpbm/code/userguide@2912 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'ppmpat.html')
-rw-r--r-- | ppmpat.html | 25 |
1 files changed, 11 insertions, 14 deletions
diff --git a/ppmpat.html b/ppmpat.html index 4d76e822..443cd264 100644 --- a/ppmpat.html +++ b/ppmpat.html @@ -38,14 +38,12 @@ ppmpat - make a pretty PPM image <p><b>ppmpat</b> produces a PPM of the specified width and height, with a pattern in it. -<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 | pnmquant 128</B> -should generate a nice background. - -<p>Some of these patterns have large numbers of colors, so if you want +<p>You could, for example, use it to create wallpaper for a computer screen. + +<p>One use of this program is as an example of the Netpbm library +<a href="libnetpbm_draw.html">drawing</a> functions, which it uses. + +<p>Some of the patterns have large numbers of colors, so if you want a simpler pattern, use <b>pnmquant</b> on the output. <H2 id="options">OPTIONS</H2> @@ -111,7 +109,7 @@ background color is barely visible. <DT><B>-argyle1</B> -<DD>An diamond argyle pattern, without a cross through the diamond, with one +<DD>A diamond argyle pattern, without a cross through the diamond, with one diamond. Can be tiled. <p>If you specify -color, give two colors: background and foreground, in that @@ -121,20 +119,19 @@ order. <DT><B>-argyle2</B> -<DD>An diamond argyle pattern, with a cross through the diamond, with one +<DD>A diamond argyle pattern, with a cross through the diamond, with one diamond. Can be tiled. -<p>This option was new in Netpbm 10.78 (March 2017). - <p>If you specify -color, give three colors: background, foreground, and stripe, in that order. +<p>This option was new in Netpbm 10.78 (March 2017). + <dt><b>-color</b> <i>colorlist</i> <dd>This specifies the colors to appear in the pattern. -<p>If you do not specify this option, <b>ppmpat</b> chooses colors at -random. +<p>If you do not specify this option, <b>ppmpat</b> chooses colors at random. <p>Different patterns take different numbers of colors. Some can involve variable numbers of colors. If you specify a number of colors incompatible |