HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

pgmnoise — Generate white noise. More information: <https://netpbm.sourceforge.net/doc/pgmnoise.html>.

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandpgmnoiseclimoreinformationwhitenoisegenerate

Problem

How to use the pgmnoise command: Generate white noise. More information: <https://netpbm.sourceforge.net/doc/pgmnoise.html>.

Solution

pgmnoise — Generate white noise. More information: <https://netpbm.sourceforge.net/doc/pgmnoise.html>.

Generate a PGM image containing white noise:
pgmnoise {{width}} {{height}} > {{path/to/output.pgm}}


Specify the seed for the pseudo-random number generator:
pgmnoise {{width}} {{height}} -randomseed {{value}} > {{path/to/output.pgm}}

Code Snippets

Generate a PGM image containing white noise

pgmnoise {{width}} {{height}} > {{path/to/output.pgm}}

Specify the seed for the pseudo-random number generator

pgmnoise {{width}} {{height}} -randomseed {{value}} > {{path/to/output.pgm}}

Context

tldr-pages: common/pgmnoise

Revisions (0)

No revisions yet.