Get the snapshot of a window , save the image to file ?

Alan Coopersmith alan.coopersmith at oracle.com
Mon Nov 7 16:49:21 PST 2011


On 11/07/11 16:43, Aaron Lewis wrote:
> Hi,
> 	How can i get a snapshot of a window , and save the image to a file ?
> 	(i mean to program , not to run a command)

xwd is a simple example application that does exactly that.

Sources browsable at:
   http://cgit.freedesktop.org/xorg/app/xwd/tree/

Sources downloadable at:
   http://www.x.org/releases/individual/app/xwd-1.0.4.tar.bz2


-- 
	-Alan Coopersmith-        alan.coopersmith at oracle.com
	 Oracle Solaris Platform Engineering: X Window System



More information about the xorg-devel mailing list