You can be magician if you know how use and implement ImageMagick package. I use this package to create an animated GIF file from a series of image files.
$ convert -delay 300 -loop 0 1.png 2.png 3.png out.gif
magic command, it will create an animated GIF from given 3 images with a delay of 3 seconds between each frame and loop infinitely:
Robbi Nespu | Image, Linux