HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

pamshadedrelief — Generate a shaded relief from an elevation map. See also: `pamcrater`, `ppmrelief`. More information

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandrelieffromelevationcligenerateshadedpamshadedrelief

Problem

How to use the pamshadedrelief command: Generate a shaded relief from an elevation map. See also: pamcrater, ppmrelief. More information: <https://netpbm.sourceforge.net/doc/pamshadedrelief.html>.

Solution

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}}

Code Snippets

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}}

Context

tldr-pages: common/pamshadedrelief

Revisions (0)

No revisions yet.