LinuxCommandLibrary

pambrighten

adjusts brightness and saturation of Netpbm images using HSV color model

TLDR

Increase image brightness by 50%
$ pambrighten -value 50 [input.pam] > [output.pam]
copy
Decrease saturation by 30%
$ pambrighten -saturation -30 [input.pam] > [output.pam]
copy
Adjust both brightness and saturation
$ pambrighten -value [20] -saturation [10] [input.pam] > [output.pam]
copy
Read from stdin
$ cat [input.pam] | pambrighten -value [50] > [output.pam]
copy

SYNOPSIS

pambrighten [-value n] [-saturation n] [file]

DESCRIPTION

pambrighten increases or decreases the Saturation and Value (from the HSV color space) of each pixel of a Netpbm image by a specified percentage. Positive values increase, negative values decrease. If no file is specified, reads from stdin.
Minimum unique abbreviation of option names is acceptable. Double hyphens may be used instead of single hyphens. Part of the Netpbm toolkit.

PARAMETERS

-value n

Change Value (brightness) by percentage. May be negative. Default is 0.
-saturation n
Change Saturation by percentage. May be negative. Default is 0.

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard