Web Screenshots. W/O browser!

Vote +1
1
Vote -1

Just discovered a nice way to take screenshots of web sites from the command line! No browser needed. Cool.

The tool I’d like to advertise is called gnome-web-photo:

1
aptitude install gnome-web-photo

For instance. To take generate an image of my website just call:

1
gnome-web-photo --timeout=60 http://binfalse.de binfalse.png

Just take a look at binfalse.png to examine the result. I obtained a 1024x6334 image. I guess the main use case is to generate some kind of preview/thumbnail. To get a thumbnail simply add --mode=thumbnail:

1
gnome-web-photo --timeout=60 --mode=thumbnail http://binfalse.de binfalse-thumb.png

Afaik, there is no option to generate a larger thumb, but you could just pass --width= without the --mode=thumbnail. And then crop the pic yourself (e.g. using imagemagick). However, you need to run X and you need to have GTK, if I understand correctly. Nevertheless, I like that solution.

authorship