You can quickly create GIF animation from some PNG pictures and add delay time to it, using ImageMagick program. The command line to be used is convert, a component of ImageMagick. Surprisingly it's very easy and I'll explain below quickly. Now, you can create as many GIF tutorials as you wish. Enjoy!

Subscribe to UbuntuBuzz Telegram Channel to get article updates directly.


Preparations


  • Prepare 2 or 3 or more PNG images.
  • Rename them to follow the sequence of 01.png, 02.png, 03.png, and so on.
  • Install imagemagick if you don't have it:  $ sudo apt-get install imagemagick 

Picture 1:


01.png



Picture 2:


02.png


Picture 3:


03.png



Command Lines:


Delay 0.5 second:
$ convert -delay 50 -loop 0 *.png animation.gif

Delay 1 second:
$ convert -delay 100 -loop 0 *.png animation.gif

Delay 2 second:
$ convert -delay 200 -loop 0 *.png animation.gif




GIF Animation:


Here's the animation with 1 second delay:



See? It's easy.

Reference




,