ximtoppm

Convert a XIM file to a PPM image. More information: <https://netpbm.sourceforge.net/doc/ximtoppm.html>.

Install

All systems
curl cmd.cat/ximtoppm.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 XIM file to a PPM image. More information: <https://netpbm.sourceforge.net/doc/ximtoppm.html>.

  • Convert an XIM image to a PPM image:
    ximtoppm path/to/input_file.xim > path/to/output_file.ppm
  • Store the transparency mask of the input image in the specified file:
    ximtoppm --alphaout path/to/alpha_file.pbm path/to/input_file.xim > path/to/output_file.ppm

© tl;dr; authors and contributors