Blob Blame History Raw
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD><TITLE>Pgmnoise User Manual</TITLE></HEAD>
<BODY>
<H1>pgmnoise</H1>
Updated: 27 June 2013
<BR>
<A HREF="#index">Table Of Contents</A>

<H2>NAME</H2>

pgmnoise - create a PGM image made up of white noise

<H2 id="synopsis">SYNOPSIS</H2>

<B>pgmnoise</B> <I>width</i> <i>height</I>

[<b>-maxval=</b><i>n</i>]
[<b>-randomseed=</b><i>integer</i>]

<P>Minimum unique abbreviations of option are acceptable.  You may use
double hyphens instead of single hyphen to denote options.  You may use
white space in place of the equals sign to separate an option name
from its value.


<H2 id="description">DESCRIPTION</H2>

<p>This program is part of <a href="index.html">Netpbm</a>.

<p><B>pgmnoise</b> creates a PGM image that is made up of pixels
of random brightness.

<p>You specify the dimensions of the image with the <i>width</i>
and <i>height</i> arguments.

<p>The randomness in the image is limited before Netpbm 10.37 (December
2006) -- if you run the program twice in the same second, you may get
identical output.


<h2 id="options">OPTIONS</h2>

<dl>
<dt><b>-maxval=</b><i>n</i>
<dd>The maxval of the generated image.
<p>Default is 255.
<p>This option was new in Netpbm 10.63 (June 2013).

<dt><b>-randomseed=</b><i>integer</i>

<dd>This is the seed for the random number generator that generates the
pixels.

<p>Use this to ensure you get the same image on separate invocations.

<p>By default, <b>pgmnoise</b> uses a seed derived from the time of day
and process ID, which gives you fairly uncorrelated results in multiple
invocations.

<p>This option was new in Netpbm 10.45 (December 2008).

</dl>

<H2 id="seealso">SEE ALSO</H2>

<A HREF="pgm.html">pgm</A>

<H2 id="author">AUTHOR</H2>

Copyright (C) 1993 by Frank Neumann

<HR>
<H2 id="index">Table Of Contents</H2>
<UL>
<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>
</BODY>
</HTML>