X windows dump format

David Gerard dgerard at gmail.com
Mon May 31 11:05:35 PDT 2010


On 19 May 2010 06:03, Tomas Carnecky <tom at dbservice.com> wrote:

> 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.


Yeah, Xorg is not the tool for this job. webkit2png works really
nicely - RationalWiki uses it to capture local copies of references
from the sort of websites that try to cover their tracks when caught
out, using a locally-written MediaWiki extension called CaptureBot2.

Here's sample output:
http://rationalwiki.org/wiki/File:Capture_199b85c4ef7e795c2c8bc1d06475b4ee70b1ecb7.png

* Original webkit2png:
http://aezell.wordpress.com/2009/02/13/screenshot-a-url-with-python-and-qt-and-webkit/

* Slightly modified version:
http://www.blogs.uni-osnabrueck.de/rotapken/2008/12/03/create-screenshots-of-a-web-page-using-python-and-qtwebkit/

* RationalWiki version:
http://rationalwiki.org/wiki/User:Capturebot2/webkit2png.py

* Capturebot2 page (source links at bottom):
http://rationalwiki.org/wiki/User:Capturebot2

* Capturebot2 source:
http://rationalwiki.org/wiki/User:Capturebot2/capturebot2.py


- d.


More information about the xorg-devel mailing list