Create your blog and photo album with postbit
Create your blog and photo album

Create new post


Upload a picture:
Tags (keywords separated by comma)

Save Cancel
screenshots:   Followers: 6 ; Following: 2

Explore screenshots's photo albums:
Software (1)
E-Commerce Websites (3)
Ubuntu - Linux (4)
Photos from posts (5)
Logos (8)
Sites de empresas brasileiras (1)

How to install webimage site screen capture

Webimage is a site capture that uses webkit render engine, created by Raphael Cruzeiro (
sudo apt-get install libqtwebkit-dev
sudo apt-get install xvfb
git clone
cd webimage
xvfb-run --server-args="-screen 0, 1024x768x24" ./webimage output.png 1024
How to add PNG support to webimage:
You can add this command in webimage source code (snapshot.cpp file), near the JPG save line:*outputFilename, "PNG")
Hints if you are using cygwin:
 * type "qmake-qt4" instead of "qmake"
 * Run webimage inside windows manager (e.g. twm) instead of xvfb-run
To increase image quality (JPG quality):
Before compiling, edit "snapshot.h" and change "int quality = -1" to "int quality = 90" (this parameter will enhance jpg quality)
If you get this error:
NVIDIA: could not open the device file /dev/nvidiactl (No such file or directory).
Then you need to install "nvidia-current" package.
If you get this error:
/usr/include/qt4/QtWebKit/qwebpage.h:40:7: error: forward declaration of ‘class QNetworkReply’
snapshot.cpp: At global scope:
snapshot.cpp:150:6: warning: unused parameter ‘errors’ [-Wunused-parameter]
make: *** [snapshot.o] Error 1
Then you need to add the following lines to "snapshot.cpp":
#include <QNetworkReply>
#include <QSslError>
Unfortunately I was not able to run flash plugin using cygwin, but was able to capture flash correctly with Linux.
To capture flash, you must enable plugins, adding this to snapshot.cpp source:
  page->settings()->setAttribute(QWebSettings::PluginsEnabled, true);

This can be added just before the line "page->mainFrame()->load(url);"

Post by screenshots (2013-10-20 23:30)

Post your comment:

Name: Email: Site:

| Explore users | New posts | Create your blog | Create your photo album |
| About Postbit | Our blog | Terms of use | Contact Postbit |

Copyright © 2018 -