mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
19 lines
581 B
Plaintext
19 lines
581 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# 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 < {{path/to/input.pam}} {{[-g|-gamma]}} {{factor}} > {{path/to/output.pam}}`
|