pnmtorast
Convert a PNM file to a Sun rasterfile. More information: <https://netpbm.sourceforge.net/doc/pnmtorast.html>.
Install
- All systems
-
curl cmd.cat/pnmtorast.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 update
sudo apt-get install netpbm
- OS X
-
brew install netpbm
- Raspbian
-
apt-get install netpbm
- Dockerfile
- dockerfile.run/pnmtorast
Convert a PNM file to a Sun rasterfile. More information: <https://netpbm.sourceforge.net/doc/pnmtorast.html>.
-
Convert a PNM image to a RAST image:
pnmtorast path/to/input.pnm > path/to/output.rast
-
Force either `RT_STANDARD` or `RT_BYTE_ENCODED` form for the output:
pnmtorast -standard|rle path/to/input.pnm > path/to/output.rast
© tl;dr; authors and contributors