将图像大量转换为 GIF

use*_*529 9 software-recommendation image-processing

我从我运行的模拟中创建了 600 多个图像。我想将这些图像转换为 GIF 格式。你能给我提供一种方法,让我可以显示每个图像 > 1 秒。

Cor*_*ius 10

ImageMagick 可以做到

convert -delay 100 -loop 0 image*.png animation.gif
Run Code Online (Sandbox Code Playgroud)

替换image*.png为您命名的任何图像。

安装它:

sudo apt-get install imagemagick
Run Code Online (Sandbox Code Playgroud)

请注意,600 个文件需要大量 RAM。