#!/bin/sh #(C)2006 Sato Makoto #-crop x{+,-} ORI=screen.png NEW=rep.png NUM=1 for geom in $(seq 9) do convert -resize 75% $ORI $NEW convert -crop 128x103+0+0 $ORI ${NUM}.png mv $NEW $ORI NUM=$(expr $NUM + 1) done convert -delay 15 `ls -1 *.png | sort -n ` `ls -1 *.png | sort -nr` all.gif