pamdepth
Reduce the depth (i.e. color resolution) in an image. More information: <https://netpbm.sourceforge.net/doc/pamdepth.html>.
Install
- All systems
-
curl cmd.cat/pamdepth.sh
- Debian
-
apt-get install netpbm - Ubuntu
-
apt-get install netpbm - Arch Linux
-
pacman -S netpbm - Kali Linux
-
apt-get install netpbm - CentOS
-
yum install netpbm-progs - Fedora
-
dnf install netpbm-progs - Windows (WSL2)
-
sudo apt-get updatesudo apt-get install netpbm - OS X
-
brew install netpbm - Raspbian
-
apt-get install netpbm
Reduce the depth (i.e. color resolution) in an image. More information: <https://netpbm.sourceforge.net/doc/pamdepth.html>.
-
Read a PBM image, set its maxval and save it to a file:
pamdepth maxval path/to/image.pbm > path/to/file.pbm
© tl;dr; authors and contributors