I want to compare the graphical output of different versions of a program pixel by pixel. To do that, I would like to divert the contents of the program's (single) X11 frame directly to a file -- a kind of automatic capturing without manual selection of the window. Can anyone give me hints where to start? Werner