
How to create gif file using python
Vengat
776 views • 4 years, 4 months ago
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