xwdtopnm

Convert an X11 or X10 window dump file to PNM. More information: <https://netpbm.sourceforge.net/doc/xwdtopnm.html>.

Install

All systems
curl cmd.cat/xwdtopnm.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 an X11 or X10 window dump file to PNM. More information: <https://netpbm.sourceforge.net/doc/xwdtopnm.html>.

  • Convert a XWD image file to PBM:
    xwdtopnm path/to/input_file.xwd > path/to/output_file.pnm
  • Display information about the conversion process:
    xwdtopnm -verbose path/to/input_file.xwd > path/to/output_file.pnm
  • Display the contents of the X11 header of the input file:
    xwdtopnm -headerdump path/to/input_file.xwd > path/to/output_file.pnm

© tl;dr; authors and contributors