Answers for "how to open images from path in list python"

0

getting image from path python

from PIL import Image
import glob
image_list = []
for filename in glob.glob('yourpath/*.gif'): #assuming gif
    im=Image.open(filename)
    image_list.append(im)
Posted by: Guest on May-15-2020

Code answers related to "how to open images from path in list python"

Python Answers by Framework

Browse Popular Code Answers by Language