pgmcrater, pamcrater, pamshadedrelief: add pages (#12401)

pull/23/head
Juri Dispan 2024-03-04 04:58:24 +01:00 committed by GitHub
parent c02696d5c7
commit d2f18edf19
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 42 additions and 0 deletions

13
pages/common/pamcrater.md Normal file
View File

@ -0,0 +1,13 @@
# pamcrater
> Create a PAM image of cratered terrain.
> See also: `pamshadedrelief`, `ppmrelief`.
> More information: <https://netpbm.sourceforge.net/doc/pamcrater.html>.
- Create an image of cratered terrain with the specified dimensions:
`pamcrater -height {{height}} -width {{width}} > {{path/to/output.pam}}`
- Create an image containing the specified number of craters:
`pamcrater -number {{n_craters}} > {{path/to/output.pam}}`

View File

@ -0,0 +1,13 @@
# pamshadedrelief
> Generate a shaded relief from an elevation map.
> See also: `pamcrater`, `ppmrelief`.
> More information: <https://netpbm.sourceforge.net/doc/pamshadedrelief.html>.
- Generate a shaded relief image with the input image interpreted as an elevation map:
`pamshadedrelief < {{path/to/input.pam}} > {{path/to/output.pam}}`
- Gamma adjust the image by the specified factor:
`pamshadedrelief -gamma {{factor}} < {{path/to/input.pam}} > {{path/to/output.pam}}`

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

@ -0,0 +1,16 @@
# pgmcrater
> This command is superseded by `pamcrater`, `pamshadedrelief`, and `pamtopnm`.
> More information: <https://netpbm.sourceforge.net/doc/pgmcrater.html>.
- View documentation for `pamcrater`:
`tldr pamcrater`
- View documentation for `pamshadedrelief`:
`tldr pamshadedrelief`
- View documentation for `pamtopnm`:
`tldr pamtopnm`