LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

xwdtopnm

Convert XWD screenshots to PNM format

TLDR

Convert an XWD file to PNM
$ xwdtopnm [input.xwd] > [output.pnm]
copy
Read from stdin and write to stdout
$ cat [input.xwd] | xwdtopnm > [output.pnm]
copy

SYNOPSIS

xwdtopnm [file]

DESCRIPTION

xwdtopnm reads an X Window Dump (XWD) image as input and produces a PNM (Portable aNy Map) image as output. XWD files are typically created by the X11 xwd utility for capturing window screenshots.If no input file is specified, xwdtopnm reads from standard input. Output is always written to standard output. The output format (PBM, PGM, or PPM) depends on the color depth of the input image.This tool is part of the Netpbm toolkit, a collection of image conversion and manipulation utilities.

INSTALL

sudo apt install netpbm
copy
sudo dnf install netpbm
copy
sudo pacman -S netpbm
copy
sudo apk add netpbm
copy
sudo zypper install netpbm
copy
brew install netpbm
copy
nix profile install nixpkgs#netpbm
copy

SEE ALSO

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid