diff --git a/tools/gif2spritesheet.sh b/tools/gif2spritesheet.sh new file mode 100755 index 0000000..6e6f8f9 --- /dev/null +++ b/tools/gif2spritesheet.sh @@ -0,0 +1,2 @@ +#!/bin/sh +convert $1 -set background none -alpha on -compose Copy -coalesce miff:- | montage - -tile 32x32 -geometry '1x1+0+0<' -alpha On -background 'rgba(0, 0, 0, 0.0)' -quality 100 $2