rasttopnm
Convert a Sun rasterfile to a PNM file. More information: <https://netpbm.sourceforge.net/doc/rasttopnm.html>.
Install
- All systems
-
curl cmd.cat/rasttopnm.sh
- Debian
-
apt-get install netpbm - Ubuntu
-
apt-get install netpbm - Arch Linux
-
pacman -S netpbm - Kali Linux
-
apt-get install netpbm - CentOS
-
yum install netpbm-progs - Fedora
-
dnf install netpbm-progs - Windows (WSL2)
-
sudo apt-get updatesudo apt-get install netpbm - OS X
-
brew install netpbm - Raspbian
-
apt-get install netpbm
Convert a Sun rasterfile to a PNM file. More information: <https://netpbm.sourceforge.net/doc/rasttopnm.html>.
-
Convert a RAST image to a PNM file:
rasttopnm path/to/input.rast > path/to/output.pnm -
Use the color map indices in the raster if they are color values:
rasttopnm -index path/to/input.rast > path/to/output.pnm
© tl;dr; authors and contributors