# HG changeset patch # User Oleksandr Gavenko # Date 1272994665 -10800 # Node ID 3716a7f903f05e36d1fb335a0ee6dbe902ed14ab # Parent 9d002000926610ee4a1b2b74da129656914730e2 About screen capturing. diff -r 9d0020009266 -r 3716a7f903f0 record.rst --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/record.rst Tue May 04 20:37:45 2010 +0300 @@ -0,0 +1,50 @@ +-*- mode: outline; coding: utf-8 -*- + +* Screen capture. + +** Wink. + +Using Wink you can capture screenshots, add explanations boxes, buttons, +titles etc and generate a highly effective tutorial for your users. + + http://www.debugmode.com/wink/ + home page + +** Screenshort movies. + +*** ImageMagic and shell script. + + #!/bin/bash + let iter=1 + while [ "$iter" -le "$stop" ]; do + import $iter.png + sleep 1 + let x+=1 + done + +If you interesting in capturing specific window - by 'xwininfo' find, +intereesting your window id (hex value) and use command: + + import -window $windowid $iter.png + +To quick view result run: + + $ cd $img_dir + $ animate -delay 20 *.png + ^C + +To compound image together: + + $ convert -delay 20 *.png capture.mng # license free, multi-image file format + $ convert -delay 20 *.png capture.gif + +You can add text to pictures before compound theirs: + + $ mogrify -fill yellow -draw 'Rectangle 10,10 150,30' -fill black -pointsize 14 \ + -draw 'text 15,25 "by http://example.com"' $iter.png + +If screen capturing slow for you use MIFF file format. + +Use root flag to capture all screen: + + $ import -window root $iter.png