Added gif2spritesheet tool

This commit is contained in:
lanxu 2018-10-20 19:12:55 +03:00
parent 9a9e166bdd
commit 65994d552d

2
tools/gif2spritesheet.sh Executable file
View File

@ -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