Skip to content


Subversion checkout URL

You can clone with
Download ZIP
A simple command line program that uses webkit to render a preview image from a web page. A live demo that has been wrapped with a web interface can be found here:
C++ Prolog
Branch: master

Live demo

Setup Instructions

git clone

sudo aptitude install -y xvfb

sudo aptitude install -y libqtwebkit-dev

cd webimage


make all Makefile

xvfb-run --server-args="-screen 0, 1024x768x24" ./webimage output.jpg 1024

Webimage will generate the file on the appropriate format for the output file name. Current supported formats are: jpg and pdf.

Note: xvfb is only necessary for running webimage on a headless server (i.e. a server without a GUI or even a graphics card)

Something went wrong with that request. Please try again.