2 ms·
I have been getting help from Raphael, since I had no experience with graphics on headless servers. To save others time, with his help, this got me working so
by pdx 14y ago
I have been getting help from Raphael, since I had no experience with graphics on headless servers.
To save others time, with his help, this got me working so I could start playing with this.
git clone https://github.com/raphaelcruzeiro/webimage.git
sudo aptitude install -y xvfb
sudo aptitude install -y libqtwebkit-dev
cd webimage
qmake webimage.pro
make all Makefile
xvfb-run --server-args="-screen 0, 1024x768x24" ./webimage http://news.ycombinator.com/ output.jpg 1024
I'm now up and running, taking screen shots. Thanks Raphael.