I have 10 png file, named as a00.png a01.png a02.png ....a09.png
you need the "ImageMagick" first
Mac install
brew install ImageMagick
复制代码
mogrify -resize 600x350 *.png
convert -delay 100 *.png -loop 0 out.gif
复制代码
mogrify is used for resize the png file.
convert is used for combine the png file.
some times , you have a00.png, b00.png a01.png b01.png ,... a09.png, b09.png
you want to combine a00.png b00.png into c00.png.
then generate the all_c.gif