Answers for "making gifs via python"

0

making gifs via python

import imageio
nr_images = 1000
with imageio.get_writer("Filepath", mode='I',fps = 50) as writer:
    for i in range(0,nr_images,1):
        image = imageio.imread("Filepath\Pic%.0f.jpg" % i)
        writer.append_data(image)
Posted by: Guest on September-08-2021

Python Answers by Framework

Browse Popular Code Answers by Language