pbmtogem

Read a PBM image as input and produce a compressed GEM .img file as output. pbmtogem cannot compress repeated lines. More information: <https://netpbm.sourceforge.net/doc/pbmtogem.html>.

Install

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

Read a PBM image as input and produce a compressed GEM .img file as output. pbmtogem cannot compress repeated lines. More information: <https://netpbm.sourceforge.net/doc/pbmtogem.html>.

  • Convert a PBM image into a GEM .img file:
    pbmtogem path/to/file.pbm > path/to/file.img
  • Suppress all informational messages:
    pbmtogem -quiet
  • Display version:
    pbmtogem -version

© tl;dr; authors and contributors