| 1 |
\ |
| 2 |
.\" This man page was generated by the Netpbm tool 'makeman' from HTML source. |
| 3 |
.\" Do not hand-hack it! If you have bug fixes or improvements, please find |
| 4 |
.\" the corresponding HTML page on the Netpbm website, generate a patch |
| 5 |
.\" against that, and send it to the Netpbm maintainer. |
| 6 |
.TH "Pgmnoise User Manual" 1 "27 June 2013" "netpbm documentation" |
| 7 |
|
| 8 |
.SH NAME |
| 9 |
pgmnoise - create a PGM image made up of white noise |
| 10 |
|
| 11 |
.UN synopsis |
| 12 |
.SH SYNOPSIS |
| 13 |
|
| 14 |
\fBpgmnoise\fP \fIwidth\fP \fIheight\fP |
| 15 |
|
| 16 |
[\fB-maxval=\fP\fIn\fP] |
| 17 |
[\fB-randomseed=\fP\fIinteger\fP] |
| 18 |
.PP |
| 19 |
Minimum unique abbreviations of option are acceptable. You may use |
| 20 |
double hyphens instead of single hyphen to denote options. You may use |
| 21 |
white space in place of the equals sign to separate an option name |
| 22 |
from its value. |
| 23 |
|
| 24 |
|
| 25 |
.UN description |
| 26 |
.SH DESCRIPTION |
| 27 |
.PP |
| 28 |
This program is part of |
| 29 |
.BR "Netpbm" (1)\c |
| 30 |
\&. |
| 31 |
.PP |
| 32 |
\fBpgmnoise\fP creates a PGM image that is made up of pixels |
| 33 |
of random brightness. |
| 34 |
.PP |
| 35 |
You specify the dimensions of the image with the \fIwidth\fP |
| 36 |
and \fIheight\fP arguments. |
| 37 |
.PP |
| 38 |
The randomness in the image is limited before Netpbm 10.37 (December |
| 39 |
2006) -- if you run the program twice in the same second, you may get |
| 40 |
identical output. |
| 41 |
|
| 42 |
|
| 43 |
.UN options |
| 44 |
.SH OPTIONS |
| 45 |
.PP |
| 46 |
In addition to the options common to all programs based on libnetpbm |
| 47 |
(most notably \fB-quiet\fP, see |
| 48 |
.UR index.html#commonoptions |
| 49 |
Common Options |
| 50 |
.UE |
| 51 |
\&), \fBpgmnoise\fP recognizes the following |
| 52 |
command line options: |
| 53 |
|
| 54 |
|
| 55 |
.TP |
| 56 |
\fB-maxval=\fP\fIn\fP |
| 57 |
The maxval of the generated image. |
| 58 |
.sp |
| 59 |
Default is 255. |
| 60 |
.sp |
| 61 |
This option was new in Netpbm 10.63 (June 2013). |
| 62 |
|
| 63 |
.TP |
| 64 |
\fB-randomseed=\fP\fIinteger\fP |
| 65 |
This is the seed for the random number generator that generates the |
| 66 |
pixels. |
| 67 |
.sp |
| 68 |
Use this to ensure you get the same image on separate invocations. |
| 69 |
.sp |
| 70 |
By default, \fBpgmnoise\fP uses a seed derived from the time of day |
| 71 |
and process ID, which gives you fairly uncorrelated results in multiple |
| 72 |
invocations. |
| 73 |
.sp |
| 74 |
This option was new in Netpbm 10.45 (December 2008). |
| 75 |
|
| 76 |
|
| 77 |
|
| 78 |
.UN seealso |
| 79 |
.SH SEE ALSO |
| 80 |
|
| 81 |
|
| 82 |
.IP \(bu |
| 83 |
.BR "pbmnoise" (1)\c |
| 84 |
\& |
| 85 |
.IP \(bu |
| 86 |
.BR "pgm" (1)\c |
| 87 |
\& |
| 88 |
|
| 89 |
|
| 90 |
.UN author |
| 91 |
.SH AUTHOR |
| 92 |
|
| 93 |
Copyright (C) 1993 by Frank Neumann |
| 94 |
.SH DOCUMENT SOURCE |
| 95 |
This manual page was generated by the Netpbm tool 'makeman' from HTML |
| 96 |
source. The master documentation is at |
| 97 |
.IP |
| 98 |
.B http://netpbm.sourceforge.net/doc/pgmnoise.html |
| 99 |
.PP |