6

I'll let the .gif I have do most of the talk: The GIF

A bit of backstory: I have 100 PNG files (which can be seen here on imgur), each one is a frame of an animation. With those files, I have to make a .gif.

I used:

convert -delay 5 -loop 0 Frame_7_00000*.png" animated.gif

To make the gif linked above.

Basically, as the question says, the previous image loaded stays on the next frame, and so on until the gif is over. I want to know if it's possible to make a gif where this does not happen. If possible, a command line answer is preferred.

1 Answer 1

7

I assume you're using http://www.imagemagick.org/. The -dispose command describes what is to be done with the frame after its delay (when the next frame is loaded). Info here: http://www.imagemagick.org/Usage/anim_basics/#dispose

-dispose previous

try:

convert -delay 5 -dispose previous -loop 0 Frame_7_00000*.png" animated.gif

You must log in to answer this question.

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