mikshaw
Group: Members
Posts: 4856
Joined: July 2004 |
|
Posted: July 22 2005,14:43 |
|
try ImageMagick + a small shell script:
#!/bin/bash TOTAL=20 COUNT=0 while [ $COUNT -lt $TOTAL ]; do COUNT=$(($COUNT+1)) import -window root filename${COUNT}.png sleep 3 done
This will take a snapshot every 3 seconds, for a total of 20 snapshots. You could also include some editing commands in there, say if you want to resize or frame the images as they are created. Check imagemagick.org for more info.
The script could also probably be extended to automatically join the images into an animation, but i don't know if ImageMagick can do that or if you'd need additional software, such as transcode.
-------------- http://www.tldp.org/LDP/intro-linux/html/index.html
|