ppmcolormask
Produce a mask of areas of a certain color in a PPM image. More information: <https://netpbm.sourceforge.net/doc/ppmcolormask.html>.
Install
- All systems
-
curl cmd.cat/ppmcolormask.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 update
sudo apt-get install netpbm
- OS X
-
brew install netpbm
- Raspbian
-
apt-get install netpbm
- Dockerfile
- dockerfile.run/ppmcolormask
Produce a mask of areas of a certain color in a PPM image. More information: <https://netpbm.sourceforge.net/doc/ppmcolormask.html>.
-
Produce a mask of areas of a certain color in the specified PPM image:
ppmcolormask -color red,blue path/to/input.ppm > path/to/output.pbm
© tl;dr; authors and contributors