jkhadka
jkhadka

Reputation: 2553

Gif creation with Imagemagick - convert : Images are overlapping

I am trying to make a gif with images using convert. But in the resulting gif, the images are just stacking one over the other. Here is the created gif : https://i.imgur.com/EgISW2y.gif

I tried creating it with simple command :

$ convert -delay 8 -loop 0 plot_* result.gif

Upvotes: 1

Views: 1184

Answers (1)

zindarod
zindarod

Reputation: 6468

Try using the -dispose setting with previous option, which disposes the previous frames after they are displayed:

convert -dispose previous -delay 8 plot_* -loop 0 result.gif

Further reading here.

Upvotes: 4

Related Questions