scripts/tools/gif2spritesheet.sh

3 lines
187 B
Bash
Raw Normal View History

2018-10-20 19:12:55 +03:00
#!/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