MCPcopy Create free account
hub / github.com/adamn/python-webkit2png / WebkitRenderer

Class WebkitRenderer

webkit2png/webkit2png.py:36–122  ·  view source on GitHub ↗

A class that helps to create 'screenshots' of webpages using Qt's QWebkit. Requires PyQt4 library. Use "render()" to get a 'QImage' object, render_to_bytes() to get the resulting image as 'str' object or render_to_file() to write the image directly into a 'file' resource.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

__main_qtFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected