Base asset tools in ImageMagick

Base asset tools in ImageMagick

I wrote a couple tools using ImageMagick to help me work with the base assets, and I figured I'd share them here. Note, I've only tested these in Ubuntu 12.04, but it should work in any Linux distro that has bash 4.0 or newer and a somewhat recent ImageMagick.  I assume it works the same on Mac and Windows (through Cygwin).

This first one takes a spritesheet built on top of the base sprites and turns it into an animated GIF.  Here's the code:

http://pastebin.com/MTyJa45a

It's used like this:

./Spritesheet2AnimatedGIF.sh [spritesheet] [GIFoutputname]

And attached is before and after.  Anybody else doing something similar?  Feel free to share!

Attachments: