- Xwd
In the
X Window System , xwd is a program for capturing the content of the screen or of awindow and saving it into afile . Its name stands for "X Window Dump". The same name is also used for referring to the image format it uses to save the dump.xwd can be run in two ways: if user specifies the whole screen or the name or identifier of a window as an argument, the program captures the content of the window; otherwise, it changes the shape of the
cursor and waits for the user to click in a window, whose content is then captured.At the
X Window core protocol level, xwd uses the fact that any X client can request the content of an arbitrary window, including ones it did not create, using theGetImage
request (this is done by theXGetImage
function in theXlib library). The content of the whole screen is obtained by requesting the content of theroot window .The file generated by xwd can then be read by various other X utilities such as
xwud ,xv , and theGIMP , or converted to other formats; thenetpbm suite allows a useful pipeline to be constructed: $ xwd | xwdtopnm | pnmtopng > Screenshot.pngExternal links
* [http://www.xfree86.org/current/xwd.1.html xwd manual page]
* [http://www.xfree86.org/current/xwud.1.html xwud manual page]
* xwd is part of X11's standard distribution, but its source can also be downloaded separately as [ftp://ftp.x.org/pub/current/src/app/xwd-X11R7.0-1.0.1.tar.bz2 tar.bz2] or [ftp://ftp.x.org/pub/current/src/app/xwd-X11R7.0-1.0.1.tar.gz tar.gz]
* [http://search.cpan.org/~nmarci/
] [http://www.perl.org/ Perl] package at [http://www.cpan.org/ CPAN]Related Info:
XWD is also the name of Saab Automobile's "Cross-Wheel-Drive" AWD system
Wikimedia Foundation. 2010.