Convert .png image sequence to gif animation in Ubuntu

Are you looking for an easy way to convert your .png image sequence to a gif in Ubuntu?

Here is a quick solution using imagemagick

Install ImageMagick by running sudo apt-get install imagemagick

Navigate to the working folder and run the below command

convert -delay 50 -loop 0 *.png test.gif

-delay option specifies the delay between the images

Using * will enable to use all the existing .png files at the location.

This is a note.
Original solution I saw first at :