X windows dump format

Tomas Carnecky tom at dbservice.com
Tue May 18 22:03:35 PDT 2010


On 5/19/10 5:30 AM, Randy Turner wrote:
>
> Hi All,
>
> I am developing an application that processes the output of the X Windows Dump (xwd) application.  I'm assembling use-case scenarios for testing this app and was wondering about how xwd actually works.
>
> When I use xwd to dump the contents of a window, and use the -nobrdrs option, it still includes the window frame and scroll bars from the window.  For instance, if I dump the contents of a Mozilla Firefox window, and use the -nobdrs option, I still get all the window decoration (scroll bars, etc.).  All I want from this xwd execution is the contents of the web page.
>
> Also, if the content of the web page exceeds the viewable size of the browser window, I would like xwd to include the ENTIRE contents of the web page, and not just the viewable section.  Is this content available in the x windows display buffer? Or is the remainder of the web page (non viewable) under control of the Firefox and firefox displays the next page of content when I scroll the window?

If all you want is to create screenshots of web pages, there are better 
ways to do that than dumping the contents of a Firefox X11 window. There 
are tools based on WebKit or gecko which do just that. wkpdf or 
webkit2png are just two of the many.

tom



More information about the xorg-devel mailing list