imgtoppm

converts an Img-whatnot image file to PPM format

TLDR

Convert IMG to PPM
$ imgtoppm [file.img] > [output.ppm]
Convert from stdin
$ cat [file.img] | imgtoppm > [output.ppm]

SYNOPSIS

imgtoppm [imgfile]

DESCRIPTION

imgtoppm converts an Img-whatnot image file to PPM (Portable Pixmap) format. Part of the Netpbm package of graphics manipulation tools. Reads from stdin if no file is specified.

INSTALL

sudo apt install netpbm
sudo dnf install netpbm
sudo pacman -S netpbm
sudo apk add netpbm
sudo zypper install netpbm
brew install netpbm
nix profile install nixpkgs#netpbm

SEE ALSO

ppmtogif(1), netpbm(1)