Admin-Ahead Community

General Category => General Discussion => Topic started by: jominj on April 25, 2014, 05:50:17 am

Title: Command line tool to take screenshot of full webpage in Ubuntu
Post by: jominj on April 25, 2014, 05:50:17 am
Hi,

Let's have a look at the command line tool called gnome-web-photo,  which is used to take screenshot of full length webpage.

Installation
To install this tool we have to execute the comamnd
Code: [Select]
# apt-get install gnome-web-photo
To take a screenshot :
Code: [Select]
$ gnome-web-photo -t 0 --mode=photo http://www.howtoforge.com output.pngThis will take screenhsot of the page howtoforge.com. The option -t specifies the timeout value for screenshot generation.

We can take a thumbnail of the webpage by using the -s option. The default thumbnail size is 256*256. Lets create a thumbnail with size 128*128
Code: [Select]
$ gnome-web-photo -t 0 -s 128 --mode=thumbnail http://www.howtoforge.com output.png
Thank you...