This tutorial demonstrates how to create animated GIFs from a PNG sequence using ImageMagick and the command line on Linux.

How to Make an Animated GIF from a PNG Sequence on the Command Line

On the convert man page, you will see a line explaining its use:

convert [input-option] input-file [output-option] output-file

We’re going to pass the convert program an input option, an input file and specify any output options and the file name.

At the prompt enter the following command:

convert -delay 15 -loop 0 *.png -scale 960x1080 output.gif