[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-xorg
Subject:    Re: How does screenshot work in an OS running Xorg
From:       walter harms <wharms () bfs ! de>
Date:       2014-03-12 12:12:44
Message-ID: 53204F3C.60000 () bfs ! de
[Download RAW message or body]



Am 11.03.2014 21:40, schrieb Thomas Lübking:
> On Dienstag, 11. März 2014 21:06:20 CEST, Hongze Zhao wrote:
>> Hi List,
>>
>> I am curious about how screenshot  in an OS running Xorg works? I guess
>> Linux does not provide such a system call or interface. Is screenshot
>> implemented by calling a special xorg interface?
> 
> Coding C(++):
> XLib: http://tronche.com/gui/x/xlib/graphics/XGetImage.html
> xcb: http://www.x.org/archive/current/doc/man/man3/xcb_get_image.3.xhtml
> 
> As user tool, xwd should be available everywhere (?), the DEs provide
> their own utils and there're plenty of other tools to provide this, but
> afaik no common call to trigger the desktop aware screenshot utility.
> 

A look at xwd may also be helpful.

re,
 wh
_______________________________________________
xorg@lists.x.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.x.org/mailman/listinfo/xorg
Your subscription address: %(user_address)s
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic