1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-17 16:15:23 +02:00
tldr/pages/common/pamcrater.md

14 lines
466 B
Markdown
Raw Normal View History

# 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 {{[-h|-height]}} {{height}} {{[-w|-width]}} {{width}} > {{path/to/output.pam}}`
- Create an image containing the specified number of craters:
`pamcrater {{[-n|-number]}} {{n_craters}} > {{path/to/output.pam}}`