The code is tiny modification over xwd(1), which was in X11R6 xc/programs/xwd.

Jun-ichiro itojun Itoh
