Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Create spinning and rotating gif with GraphicsMagick
mkdir spin
for angle in `seq 360 30 690`; do gm convert original.jpg -background "#FFFFFF" -rotate $angle -crop 512x512+0+0 spin/$angle.png; done
cd spin
gm convert *.png -loop 0 -delay 20 spinningfoobar.gif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment