This is the command xwdtopnm that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator
xwdtopnm - convert a X11 or X10 window dump file into a portable anymap
Reads a X11 or X10 window dump file as input. Produces a portable anymap as output. The
type of the output file depends on the input file - if it's black & white, a pbm file is
written, else if it's grayscale a pgm file, else a ppm file. The program tells you which
type it is writing.
Using this program, you can convert anything on an X workstation's screen into an anymap.
Just display whatever you're interested in, do an xwd, run it through xwdtopnm, and then
use pnmcut to select the part you want.
Use xwdtopnm online using onworks.net services