PDA

View Full Version : How to take the screenshot of the screen



kemparaju
October 11th, 2011, 10:48 AM
Hi,
How to take the screenshot of the screen through terminal by providing co-ordinates(x,y,hight,width), normaly we get screenshot of full screen but I need only, half of the screen.
Please help out.

Thanks and regards
Kemparaju

PaulM1985
October 11th, 2011, 11:58 AM
After a bit of googling I found this:

use scrot to get the image:
http://tips.webdesign10.com/how-to-take-a-screenshot-with-ubuntu-linux
http://linux.die.net/man/1/scrot

Then use mogrify to crop them to be the right size:
http://www.linuxtutorialblog.com/post/cropping-multiple-images-the-same-way-short-tutorial

Paul