ppmmake

Create a PPM image of a specified color and dimensions. More information: <https://netpbm.sourceforge.net/doc/ppmmake.html>.

Install

All systems
curl cmd.cat/ppmmake.sh
Debian Debian
apt-get install netpbm
Ubuntu
apt-get install netpbm
Arch Arch Linux
pacman -S netpbm
image/svg+xml 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

Create a PPM image of a specified color and dimensions. More information: <https://netpbm.sourceforge.net/doc/ppmmake.html>.

  • Create a PPM image of the specified color and dimensions:
    ppmmake color width height > path/to/output_file.ppm

© tl;dr; authors and contributors