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

Aaron Lewis the.warl0ck.1989 at gmail.com
Mon Nov 7 23:56:04 PST 2011


On 16:49 Mon 07 Nov     , Alan Coopersmith wrote:
> 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
> 

yeah , great sample , thanks !


-- 
Best Regards,
Aaron Lewis - PGP: 0xDFE6C29E ( http://pgp.mit.edu/ )
Finger Print: 9482 448F C7C3 896C 1DFE 7DD3 2492 A7D0 DFE6 C29E


More information about the xorg-devel mailing list