9

I have created over 600 images from a simulation I ran. I want to convert these images into a GIF format. Can you provide me a way to do so and one that allows me to show each image for >1second.

10

ImageMagick can do it:

convert -delay 100 -loop 0 image*.png animation.gif

Replace image*.png with whatever your images are named.

Install it with:

sudo apt-get install imagemagick

Beware that you'll need a lot of RAM for 600 files.

  • Thanks for a quick response. Each image is 1.3MB and I've created them all from scratch in PPM format. I mistyped earlier; I need each image to only play for roughly a quarter of a second. On a side note I've got 16GB of RAM. – user277529 May 3 '14 at 17:34
  • I just got it working and it is running with no problem! This is so perfect thanks for your help!!! – user277529 May 3 '14 at 17:45
  • If you want to resize your final GIF you can add ex. "-resize 800x600" to convert and it uses less RAM, but still pretty high :( – dirk Aug 26 '15 at 16:47
  • My images had a transparent background so I had to add dispose 2 to remove the previous frames. – Steven C. Howell Aug 19 '16 at 19:27
2

Converseen

...is a good GUI tool for converting and compressing images. It might be able to help you here. I'm aware of the ImageMagick answer, this is a GUI solution.

Its website is http://converseen.sourceforge.net.

Ubuntu 14.04

Available in the default repositories.

sudo apt-get install converseen

Ubuntu 13.10 and earlier

Not available by default but there is a (probably not dedicated) PPA:

sudo add-apt-repository ppa:ubuntuhandbook1/apps
sudo apt-get update && sudo apt-get install converseen
-1

To show each image for > 1 second, open one of the images and your default image viewer should open. On a fresh install of Ubuntu Eye of Gnome Image Viewer will open.

To start a slideshow:

Click View ▸ Slideshow or press F5.

Image Viewer will start a slideshow of each image in the folder.

You can customise the slideshow settings, like how many seconds each picture should be displayed for, in the Slideshow tab of Preferences:

Click Edit ▸ Preferences ▸ Slideshow

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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