使用 Imagemagick 创建 GIF - 转换:图像重叠

Gif creation with Imagemagick - convert : Images are overlapping

我正在尝试使用 convert 制作带有图像的 gif。但在生成的 gif 中,图像只是一个叠加在另一个上。 这是创建的 gif:https://i.imgur.com/EgISW2y.gif

我尝试用简单的命令创建它:

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

尝试使用带有 previous 选项的 -dispose 设置,它会在显示之前的帧后对其进行处理:

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

进一步阅读here