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

pambrighten — Change a PAM image's saturation and value. More information: <https://netpbm.sourceforge.net/doc/pam

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

Problem

How to use the pambrighten command: Change a PAM image's saturation and value. More information: <https://netpbm.sourceforge.net/doc/pambrighten.html>.

Solution

pambrighten — Change a PAM image's saturation and value. More information: <https://netpbm.sourceforge.net/doc/pambrighten.html>.

Increase the saturation of each pixel by the specified percentage:
pambrighten {{[-s|-saturation]}} {{value_percent}} {{path/to/image.pam}} > {{path/to/output.pam}}


Increase the value (from the HSV color space) of each pixel by the specified percentage:
pambrighten {{[-va|-value]}} {{value_percent}} {{path/to/image.pam}} > {{path/to/output.pam}}

Code Snippets

Increase the saturation of each pixel by the specified percentage

pambrighten {{[-s|-saturation]}} {{value_percent}} {{path/to/image.pam}} > {{path/to/output.pam}}

Increase the value (from the HSV color space) of each pixel by the specified percentage

pambrighten {{[-va|-value]}} {{value_percent}} {{path/to/image.pam}} > {{path/to/output.pam}}

Context

tldr-pages: common/pambrighten

Revisions (0)

No revisions yet.