Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

I am trying to make a GIF from a set of PNGs (files like f0010.png).

convert *0.png out.gif

The GIF is coming out strange -- not looking like the PNGs, cutoff, stuff missing, etc. I tried also extracting the frames from the GIF (using convert).

convert out.gif frames%05d.png

The extracted frames look just like the originals. Then I tried making a GIF from the extracted frames.

convert frames*.png out2.gif

Same strange GIF! Huh?



Equivalent extracted:

Equivalent extracted from GIF

The GIF:


share|improve this question

migrated from Sep 28 '12 at 8:10

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

I know how to make a gif from a set of JPG. I use imagemagick. Maybe this can help you

Converting from JPGs pictures to animated GIF

share|improve this answer
I still get the same cut-off image. – abalter Oct 2 '12 at 17:12
up vote 0 down vote accepted

I think I found the solution. I was trying to create the gif in GIMP, and it told me that the image border was beyond the extent (or the other way around, can't remember). So, I did:

convert *0.jpg -gravity center -extent 1024x1024 out.gif

and it now displays properly. I chose the 1024x1024 basically at random. I have not yet figured out how to determine the border size and extent, but I'm sure a simple google search would tell me.

In any case, that convert made it work.

share|improve this answer

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.