LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

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.

INSTALL

sudo apt install netpbm
copy
sudo dnf install netpbm
copy
sudo pacman -S netpbm
copy
sudo apk add netpbm
copy
sudo zypper install netpbm
copy
brew install netpbm
copy
nix profile install nixpkgs#netpbm
copy

SEE ALSO

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid