pbmtozinc

Convert a PBM image to a Zinc bitmap as used by the Zinc Interface Library Version 1.0. More information: <https://netpbm.sourceforge.net/doc/pbmtozinc.html>.

Install

All systems
curl cmd.cat/pbmtozinc.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 PBM image to a Zinc bitmap as used by the Zinc Interface Library Version 1.0. More information: <https://netpbm.sourceforge.net/doc/pbmtozinc.html>.

  • Convert a PBM image to a Zinc bitmap:
    pbmtozinc path/to/image.pbm > path/to/output.zinc

© tl;dr; authors and contributors