Super User is a question and answer site for computer enthusiasts and power users. 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

How can I combine multiple GIFs into one GIF file? I just want to display the images side by side.

share|improve this question

migrated from Mar 23 '11 at 12:34

This question came from our site for professional and enthusiast programmers.

What do you mean by combine? Into an animated gif? Tiled? Overlayed? – Benjol Mar 23 '11 at 9:39
up vote 2 down vote accepted

GIMP can work with gif files, they appear just like normal images but each frame in their own layer.

If you're looking for a programmable solution, I've had good experiences with ImageMagick.

Best of all, both are free and open source! :-)

share|improve this answer
Thanks for that, there seems to be many options, where do I convert multipls gifs into one ? – Anonymous Mar 23 '11 at 10:01
@user470184: That really, really depends on the already asked question: What do you specifically want to do? Tile the gifs? Have them play one after another? Play them overlayed? etc. But with GIMP you can do almost anything you like, the gifs show up as an image with a bunch of layers, and you can create more layers, remove them, edit their contents, timing, etc... – jho Mar 23 '11 at 10:21
I just want to display the images side by side – Anonymous Mar 23 '11 at 10:23
@user470184: GIMP can do that. Just grow the layers enough so that you can fit both images side by side, and copy the images for each layer from the source gif into the combined one. – jho Mar 23 '11 at 10:27
Thanks for your help – blue-sky Mar 23 '11 at 14:21

Given this question is asked on SO, I'm going to go with: GdiPlus exposes an API on Windows you can use to read, and write GIF files (amongst other file formats). You will be able to combine an arbitrary number of source images into an animated gif.

share|improve this answer

You can check out some of the CSS Sprite generators out there. These are designed to combine multiple image files into a single file to reduce the number of connections needed to load a website.

Some examples are:

share|improve this answer

If you have Photoshop you can combine multiple Gifs into 1 file pretty easily. Take a look on Youtube

how to combine 2 or more animated gifs into 1 single animated gif file

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .