# cat /usr/src/ImageMagick/.config
pkgname = "ImageMagick";全屏捕捉:
version = "6.2.8";
user = "ImageMagick";
groups = "";
group = "ImageMagick";
archive = "ImageMagick-6.2.8-0.tar.bz2";
command = "tar xfj ImageMagick-6.2.8-0.tar.bz2";
command = "cd ImageMagick-6.2.8";
command = "./configure --prefix=/usr --with-modules";
command = "make";
command = "make install";
command = "cd ..";
command = "rm -rf ImageMagick-6.2.8";
time = "20061208 18:26:02 Fri";
$ import -window root screen-shot.jpeg
$ import window-shot.jpeg
捕捉一个窗口。这时光标会变成"+"状,在某个窗口按下去这个窗口的内容就被存入文件。
显示图片:
$ display screen-shot.jpeg
参考:
http://tech.ccidnet.com/art/322/20030709/53884_1.html
另外这里还提到在控制台下的截屏:
$ setterm -dump 1
截取 tty1 的内容。setterm -dump 2 即截取 tty2。另一个可选程序是 snapscreenshot。
没有评论:
发表评论