diff options
Diffstat (limited to 'ppmrough.html')
-rw-r--r-- | ppmrough.html | 61 |
1 files changed, 27 insertions, 34 deletions
diff --git a/ppmrough.html b/ppmrough.html index 20f6f098..07d6d36e 100644 --- a/ppmrough.html +++ b/ppmrough.html @@ -6,12 +6,10 @@ Updated: 23 August 2002 <BR> <A HREF="#index">Table Of Contents</A> -<A NAME="lbAB"> </A> <H2>NAME</H2> ppmrough - create PPM image of two colors with a ragged border between them -<A NAME="lbAC"> </A> -<H2>SYNOPSIS</H2> +<H2 id="synopsis">SYNOPSIS</H2> <B>ppmrough</B> @@ -33,7 +31,7 @@ ppmrough - create PPM image of two colors with a ragged border between them [<B>-var </B><I>pixels</I>] -[<B>-init </B><I>seed</I>] +[<B>-randomseed </B><I>seed</I>] [<B>-verbose</B>] @@ -41,9 +39,7 @@ ppmrough - create PPM image of two colors with a ragged border between them You may use two hyphens instead of one. You may separate an option name and its value with white space instead of an equals sign. -<P> -<A NAME="lbAD"> </A> -<H2>DESCRIPTION</H2> +<H2 id="description">DESCRIPTION</H2> <p>This program is part of <a href="index.html">Netpbm</a>. @@ -84,58 +80,60 @@ option. <P>You could use <b>ppmrough</b> with <b>ppmtopgm</b> to create a PGM alpha mask and use it to roughen up the edges of another image. -<A NAME="lbAE"> </A> -<H2>OPTIONS</H2> +<H2 id="options">OPTIONS</H2> <DL COMPACT> -<DT><B>-left </B><I>pixels</I> +<DT><B>-left=</B><I>pixels</I> <DD> Specifies the mean distance of the border from the left margin (default: no border). -<DT><B>-right </B><I>pixels</I> +<DT><B>-right=</B><I>pixels</I> <DD>Specifies the mean distance of the border from the right margin (default: no border). -<DT><B>-top </B><I>pixels</I> +<DT><B>-top=</B><I>pixels</I> <DD>Specifies the mean distance of the border from the top margin (default: no border). -<DT><B>-bottom </B><I>pixels</I> +<DT><B>-bottom=</B><I>pixels</I> <DD>Specifies the mean distance of the border from the bottom margin (default: no border). -<DT><B>-width </B><I>pixels</I> +<DT><B>-width=</B><I>pixels</I> <DD>Specifies the width of the image (default: 100). -<DT><B>-height </B><I>pixels</I> +<DT><B>-height=</B><I>pixels</I> <DD>Specifies the height of the image (default: 100). -<DT><B>-bg </B><I>color</I> +<DT><B>-bg=</B><I>color</I> <DD>Background color. Specify this the same way you specify a color with <b>ppmmake</b>. Default is black. -<DT><B>-fg </B><I>color</I> +<DT><B>-fg=</B><I>color</I> <DD>Foreground color. Specify this the same way you specify a color with <b>ppmmake</b>. Default is white. -<DT><B>-var </B><I>pixels</I> +<DT><B>-var=</B><I>pixels</I> <DD> Specifies the variance of the ragged border (default: 10). Must be a positive integer. Set <I>pixels</I> to 1 to get a straight border. -<DT><B>-init </B><I>seed</I> +<DT><B>-randomseed=</B><I>seed</I> <DD>Use this option to initialize the pseudo-random number generator -(the Standard C library <b>rand()</b> function) with <I>seed</I>. +(the Standard C library <b>srand()</b> function) with <I>seed</I>. + +<p>Before Netpbm 10.61 (December 2012), this is called <b>-init</b>, +and that still works. <DT><B>-verbose</B> @@ -144,36 +142,31 @@ Standard Error. </DL> -<A NAME="lbAF"> </A> -<H2>SEE ALSO</H2> +<H2 id="seealso">SEE ALSO</H2> <B><A HREF="ppmmake.html">ppmmake</A></B>, <B><A HREF="pnmcat.html">pnmcat</A></B>, <B><A HREF="ppmtopgm.html">ppmtopgm</A></B>, <B><A HREF="ppm.html">ppm</A></B>, -<A NAME="history"> </A> -<H2>HISTORY</H2> +<H2 id="history">HISTORY</H2> <P> This program was added to Netpbm in Release 10.9 (September 2002). -<A NAME="lbAG"> </A> -<H2>AUTHOR</H2> +<H2 id="author">AUTHOR</H2> Copyright (C) 2002 by Eckard Specht. <HR> -<A NAME="index"> </A> -<H2>Table Of Contents</H2> +<H2 id="index">Table Of Contents</H2> <UL> -<LI><A HREF="#lbAB">NAME</A> -<LI><A HREF="#lbAC">SYNOPSIS</A> -<LI><A HREF="#lbAD">DESCRIPTION</A> -<LI><A HREF="#lbAE">OPTIONS</A> -<LI><A HREF="#lbAF">SEE ALSO</A> -<LI><A HREF="#lbAG">AUTHOR</A> +<LI><A HREF="#synopsis">SYNOPSIS</A> +<LI><A HREF="#description">DESCRIPTION</A> +<LI><A HREF="#options">OPTIONS</A> +<LI><A HREF="#seealso">SEE ALSO</A> +<LI><A HREF="#author">AUTHOR</A> </UL> <HR> </BODY> |