convert -resize 960x540 -delay 3 -layers OptimizeFrame loop 0 *.png output-file-name.gif