Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Before you mention this question Tool to convert a sequence of numbered PNG files to an animated GIF? I would like to say I'm a total noob when it comes to ubuntu (I know I have 1375 rep but I have since gone back to Windows and have only just now returned and my memory is very fussy) and ImageMagick doesn't seem to have a convert tool any more. I'm used to using PhotoScape on Windows and I rather like its set up so if anyone knows an alternative on Ubuntu that's similar that'd be much appreciated.

share|improve this question
up vote 2 down vote accepted


You can easily do this with GIMP. First install it if it's not installed already with

sudo apt-get install gimp

Creating the gif

From GIMP go to File -> Open as Layers to open all the png's on their own layer. Open as Layer

From here you can perform edits on the layers and, once done, go to File -> Export As. From the dialog be sure to set the file type to GIF. Set file type to GIF

From there you will go to the GIF export options. Tick the As Animation option and set the parameters as required. GIF export options

share|improve this answer
Thanks it worked perfectly! – Brenton Horne Apr 29 '14 at 5:35

You can use a program called convert included in the imagemagick package. It is command line driven, but very easy to use. Install it either through the software center, or go to a command prompt and type ...

sudo apt-get install imagemagick

Now to create the .gif.

convert -delay 100  -size 100x100 xc:SkyBlue \
          -page +5+10  balloon.gif   -page +35+30 medical.gif  \
          -page +62+50 present.gif   -page +10+55 shading.gif  \
          -loop 0  animation.gif

*Note the above example is straight from Image Magick Examples

share|improve this answer
How do I do 40 PNG images in a looping GIF? All in folder /home/fusion809/Documents/Images – Brenton Horne Apr 29 '14 at 0:55

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.