redirecting X11 output to a file

Rémi Cardona remi at gentoo.org
Sun Jun 14 03:52:03 PDT 2009


Le 14/06/2009 12:05, Werner LEMBERG a écrit :
> 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.

xwd is probably what you're looking for. "convert" should then be able 
to convert the dump's content to png or whatever format you like.

Cheers,

Rémi Cardona



More information about the xorg mailing list