ppmtopgm

Convert a PPM image to a PGM image. More information: <https://netpbm.sourceforge.net/doc/ppmtopgm.html>.

Debian Debian
RUN apt-get update && \ apt-get install -y netpbm
Ubuntu
RUN apt-get update && \ apt-get install -y netpbm
Arch Arch Linux
RUN pacman -S --noconfirm netpbm
image/svg+xml Kali Linux
RUN apt-get update && \ apt-get install -y netpbm
CentOS
RUN yum install -y netpbm-progs
Fedora
RUN dnf install -y netpbm-progs
Raspbian
RUN apt-get update && \ apt-get install -y netpbm
click the source code to copy install ppmtopgm on any operating system with command-not-found.com