pgmtost4

Convert a PGM image to the SBIG ST-4 format. More information: <https://netpbm.sourceforge.net/doc/pgmtost4.html>.

Install

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

Convert a PGM image to the SBIG ST-4 format. More information: <https://netpbm.sourceforge.net/doc/pgmtost4.html>.

  • Convert a PGM image file to the SBIG ST-4 format:
    pgmtost4 path/to/input_file.pgm > path/to/output.st4

© tl;dr; authors and contributors