[webkit-help] Rendering HTML page to bitmap

Ariya Hidayat ariya.hidayat at gmail.com
Wed Jul 13 14:40:39 PDT 2011

This is really specific to the port/framework you are using (thus,
more like CEF question). The trick is to set the viewport properly.
For QtWebKit, refer to what I showed ages ago:
http://labs.qt.nokia.com/2008/11/03/thumbnail-preview-of-web-page/ or
even using http://code.google.com/p/phantomjs/wiki/QuickStart#Rendering.

Capturing the WebView in a single bitmap sounds like a good idea. Even
better if you can do it in several steps by setting a proper clipping


Ariya Hidayat

More information about the webkit-help mailing list