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

17
pages/common/pgmkernel.md Normal file
View File

@@ -0,0 +1,17 @@
# pgmkernel
> Generate a convolution kernel to be used with `pnmconvol`.
> See also: `pnmconvol`.
> More information: <https://netpbm.sourceforge.net/doc/pgmkernel.html>.
- Generate a convolution kernel:
`pgmkernel {{width}} {{height}} > {{path/to/output.pgm}}`
- Generate a quadratic convolution kernel:
`pgmkernel {{size}} > {{path/to/output.pgm}}`
- Specify the weight of the center in the generated kernel:
`pgmkernel -weight {{value}} {{width}} {{height}} > {{path/to/output.pgm}}`