Owner Thumbnail

How to create gif file using python

Vengat

574 views • 3 years, 4 months ago

1

In this video, i have discussed about the gif file creattion using python, Below is the script, import imageio import os files = os.listdir('images') image_path = [os.path.join('images',file) for file in files] images = [] for img in image_path: images.append(imageio.imread(img)) imageio.mimwrite('output/myfirstgif.gif', images, fps=5)

Comments