Download:
child 2:7493e26a3304
parent 0:65366ba5ac77
1:794840b6d903
Anton Shestakov <engored@ya.ru>, Sun, 14 Sep 2014 15:34:02 +0900
Make the window full screen to avoid unrendered areas.

1 файлов изменено, 1 вставок(+), 0 удалений(-) [+]
html2png.py file | annotate | diff | comparison | revisions
--- a/html2png.py Sun Sep 14 13:54:37 2014 +0900
+++ b/html2png.py Sun Sep 14 15:34:02 2014 +0900
@@ -19,6 +19,7 @@
self.window.add(self.webview)
self.window.set_title('%s' % url)
self.window.show_all()
+ self.window.fullscreen()
self.webview.connect(
'document-load-finished', self.screenshot, output_filename)
self.webview.open(url)