pbmtoxbm

Convert a PBM image to a X11 or X10 bitmap. More information: <https://netpbm.sourceforge.net/doc/pbmtoxbm.html>.

Install

All systems
curl cmd.cat/pbmtoxbm.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 X11 or X10 bitmap. More information: <https://netpbm.sourceforge.net/doc/pbmtoxbm.html>.

  • Convert a PPM image to a X11 XBM file:
    pbmtoxbm path/to/input_file.pbm > path/to/output_file.xbm
  • Explicitly specify whether an X11 or X10 bitmap should be generated:
    pbmtoxbm -x11|x10 path/to/input_file.pbm > path/to/output_file.xbm

© tl;dr; authors and contributors