pnmtosgi
Convert a PNM file to an SGI image file. More information: <https://netpbm.sourceforge.net/doc/pnmtosgi.html>.
Install
- All systems
-
curl cmd.cat/pnmtosgi.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 PNM file to an SGI image file. More information: <https://netpbm.sourceforge.net/doc/pnmtosgi.html>.
-
Convert a PNM image to an SGI image:
pnmtosgi path/to/input.pnm > path/to/output.sgi -
Specify whether or not compression should be used:
pnmtosgi -verbatim|rle path/to/input.pnm > path/to/output.sgi -
Write the specified string into the SGI image header's `imagename` field:
pnmtosgi -imagename string path/to/input.pnm > path/to/output.sgi
© tl;dr; authors and contributors