making gifs via python

Solutions on MaxInterview for making gifs via python by the best coders in the world

showing results for - "making gifs via python"
Serena
24 Feb 2016
1import imageio
2nr_images = 1000
3with imageio.get_writer("Filepath", mode='I',fps = 50) as writer:
4    for i in range(0,nr_images,1):
5        image = imageio.imread("Filepath\Pic%.0f.jpg" % i)
6        writer.append_data(image)