anytopnm

Converts an arbitrary type of image file to common image formats. More information: <https://netpbm.sourceforge.net/doc/anytopnm.html>.

Install

All systems
curl cmd.cat/anytopnm.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

Converts an arbitrary type of image file to common image formats. More information: <https://netpbm.sourceforge.net/doc/anytopnm.html>.

  • Convert an input image to PBM, PGM, or PPM format irrespective of the input type:
    anytopnm path/to/input > path/to/output.pnm
  • Display version:
    anytopnm -version

© tl;dr; authors and contributors