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

Your email address will not be published. Required fields are marked *