ppmtopgm
Convert a PPM image to a PGM image. More information: <https://netpbm.sourceforge.net/doc/ppmtopgm.html>.
Install
- All systems
-
curl cmd.cat/ppmtopgm.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/ppmtopgm
Convert a PPM image to a PGM image. More information: <https://netpbm.sourceforge.net/doc/ppmtopgm.html>.
-
Convert PPM image to PGM image:
ppmtopgm path/to/file.ppm > path/to/file.pgm
-
Display version:
ppmtopgm -version
© tl;dr; authors and contributors