pnmtofits

Graphics conversion tools between image formats

Install

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

netpbm

Graphics conversion tools between image formats

Netpbm is a toolkit for manipulation of graphic images, including conversion of images between a variety of different formats. There are over 220 separate tools in the package including converters for more than 80 graphics formats.

netpbm-progs

netpbm supported formats