Page 1 of 1

Animated Gifs - Join together

Posted: 2012-10-21T18:37:17-07:00
by agriz
I have some animated gif images. Names are not in a sequence.
For example,
2.gif
a.gif
34.gif

I want to join those images as a single image.
Something like,

I can do this for jpeg or png. But i guess there is some trick for gif images. I don't know how to do it.

Re: Animated Gifs - Join together

Posted: 2012-10-21T19:21:46-07:00
by fmw42
agriz wrote:I have some animated gif images. Names are not in a sequence.
For example,
2.gif
a.gif
34.gif

I want to join those images as a single image.
Something like,

I can do this for jpeg or png. But i guess there is some trick for gif images. I don't know how to do it.

How do you want to join them? As layers of a single image or side-by-side?

As layer:

convert 2.gif a.gif 34.gif result.gif


Side-by-side (horizontally)

convert 2.gif a.gif 34.gif +append result.gif

Side-by-side (vertically)

convert 2.gif a.gif 34.gif -append result.gif

If the images are different sizes, you can align them as you desire with -gravity.

see
http://www.imagemagick.org/Usage/layers/#append

Re: Animated Gifs - Join together

Posted: 2012-10-21T19:25:15-07:00
by agriz
I want side by side horizontal. But it is a terrific answer with all kind of solution!!!

Thanks a lot!