Answers for "import all images from folder python"

0

import all images from folder 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 February-18-2021

Code answers related to "import all images from folder python"

Python Answers by Framework

Browse Popular Code Answers by Language