Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!

Author Topic: Command line tool to take screenshot of full webpage in Ubuntu  (Read 2660 times)

0 Members and 1 Guest are viewing this topic.

jominj

  • Guest
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...