XWD(1) XWD(1)
NAME
xwd - dump an image of an X window
SYNOPSIS
xwd [-debug] [-help] [-nobdrs] [-out file] [-xy]
[[-root] or [-id winid] or [-name winname]] [-display
display] [-add value]
DESCRIPTION
xwd is an X window dumping utility. xwd allows X users
to collect window images, either in a specially
formatted dump file (the -out option) or by capturing
the standard output (the default unless -out is
specified). This file can then be read by various
other X utilities for redisplay, printing, editing,
formatting, archiving, image processing, etc. The
target window is selected by clicking the mouse in the
desired window. The keyboard bell is rung once at the
beginning of the dump and twice when the dump is
completed.
OPTIONS
-display display
allows you to specify the server to connect to.
-help
prints out the Usage: command syntax summary.
-nobdrs
specifies that the window dump should not include
the pixels that compose the X window border. This
is useful in situations where you may wish to
include the window contents in a document as an
illustration.
-out file
allows the user to explicitly specify the output
file on the command line. If this option is not
specified, the standard output is used.
-xy
applies to color displays only. It selects XY
format dumping instead of the default Z format.
-add value
specifies a signed value to be added to every pixel
value in the dumped image.
-root
dumps the root window, as if you had clicked the
mouse on the root window.
- 1 -
XWD(1) XWD(1)
-id winid
dumps the window with the specified winid.
-name winname
dumps the window with the specified winname, if it
exists.
-debug
produces debugging messages on stderr.
ENVIRONMENT
DISPLAY
to get the default host and display number.
FILES
/usr/include/X11/XWDFile.h
The file format definition.
SEE ALSO
xwud(1), xpr(1)
AUTHORS
Tony Della Fera, Digital Equipment Corporation, MIT
Project Athena
William F. Wyatt, Smithsonian Astrophysical Observatory
- 2 -