pbmnoise, pgmhist, pgmkernel, pgmnoise, pgmramp, pgmtexture: add pages; ppmhist: modify page (#12202)

This commit is contained in:
Juri Dispan
2024-02-06 15:15:34 +01:00
committed by GitHub
parent 0d32539122
commit 5bdf79a65d
7 changed files with 109 additions and 2 deletions

16
pages/common/pbmnoise.md Normal file
View File

@@ -0,0 +1,16 @@
# pbmnoise
> Generate white noise.
> More information: <https://netpbm.sourceforge.net/doc/pbmnoise.html>.
- Generate a PGM image containing white noise:
`pbmnoise {{width}} {{height}} > {{path/to/output.pbm}}`
- Specify the seed for the pseudo-random number generator:
`pbmnoise {{width}} {{height}} -randomseed {{value}} > {{path/to/output.pbm}}`
- Specify the desired rate of white to black pixels:
`pbmnoise {{width}} {{height}} -ratio {{1/3}} > {{path/to/output.pbm}}`