22 September 2012

Screen Shot of website using terminal in Ubuntu

1 comment

gnome-web-photo is an utility provided by gnome which is used to take screen-shot of website using terminal.

To install it in Ubuntu open terminal (Ctrl + Alt + t) and type the following command

$ sudo apt-get install gnome-web-photo

Lets see usage of gnome-web-photo

1. Take screen shot(photo) of any website, let's say youtube

$ gnome-web-photo --mode=photo --file http://youtube.com yt.png

Note: yt.png is the name of the screenshot file on your machine. You can save screenshot in any image format like .jpg , .png , .bmp etc.

2. Take screen shot(thumbnail) of any website, let's say youtube

$ gnome-web-photo --mode=thumbnail --file http://youtube.com yt.png

3. Specify desired width of the Screen shot(photo)

$ gnome-web-photo --mode=photo -w 1000 --file http://youtube.com yt.png

Note: -w option is used specify width of the web page. If width is not specified then default width of web page is 1024.

4. Specify desired size of the Screen shot(thumbnail)

$ gnome-web-photo --mode=thumbnail -s 256 --file http://youtube.com yt.png

Note:

  • -s option is used specify size of the thumbnail. 
  • If size is not specified then default size of thumbnail is 256.
  • You can't increase the size of thumbnail more than 256.
  • -s is only available in thumbnail mode.


You can explore more about gnome-web-photo by typing following command on terminal

1. man gnome-web-photo
2. gnome-web-photo --help

That's it.
Enjoy :)


If You Liked This Post Please Take a Time To Share This Post

You May Also Like...

1 comment:

  1. Great efforts you have shared, I really so inspired here keep continue sharing more.

    screenshot a website

    ReplyDelete