📅  最后修改于: 2022-03-11 14:45:23.148000             🧑  作者: Mango
import imageio
with imageio.get_writer('/path/to/movie.gif', mode='I') as writer:
for filename in filenames:
image = imageio.imread(filename)
writer.append_data(image)