Files
cheatsheet-tldr/tldr/pamcrater
2024-03-05 00:12:59 +00:00

19 lines
532 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# 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}}`