xwd – dump an image of an X window

A UNIX Command

$xwd -out ldump
$du -h ldump
1.4M	ldump
$hexdump -n 1 ldump
0000000 0000
0000001
$hexdump -n 5  ldump
0000000 0000 7600 0000
0000005
$hexdump -n 10   ldump
0000000 0000 7600 0000 0700 0000
000000a
$hexdump -n 50   ldump
0000000 0000 7600 0000 0700 0000 0200 0000 1000
0000010 0000 0004 0000 ad02 0000 0000 0000 0000
0000020 0000 2000 0000 0000 0000 2000 0000 1000
*
0000030
$

UNIX Explanation

Xwd is  an X Window  System window dumping  utility.  Xwd
allows  X users  to store  window images  in  a specially
formatted  dump file.   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 pointer in
the desired  window.  The keyboard  bell is rung  once at
the  beginning of  the dump  and twice  when the  dump is
completed.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s