LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

pbmnoise

creates random noise images

TLDR

Create random noise bitmap
$ pbmnoise [100] [100] > [noise.pbm]
copy
Set density
$ pbmnoise -ratio=[0.5] [100] [100] > [noise.pbm]
copy
Set random seed
$ pbmnoise -randomseed=[12345] [100] [100] > [noise.pbm]
copy

SYNOPSIS

pbmnoise [options] width height

DESCRIPTION

pbmnoise creates random noise images. Generates random black and white pixels.The tool produces noise patterns. Part of Netpbm.

PARAMETERS

WIDTH

Image width.
HEIGHT
Image height.
-ratio RATIO
Black pixel ratio (0-1).
-randomseed SEED
Random seed.

INSTALL

sudo apt install netpbm
copy
sudo dnf install netpbm
copy
sudo pacman -S netpbm
copy
sudo apk add netpbm
copy
sudo zypper install netpbm
copy
brew install netpbm
copy
nix profile install nixpkgs#netpbm
copy

CAVEATS

Part of Netpbm. Random output. Reproducible with seed.

HISTORY

pbmnoise is part of Netpbm for generating random bitmap noise.

SEE ALSO

pbm(5), pgmnoise(1), netpbm(1)

Copied to clipboard
Kai