Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

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)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #import #images #folder #python
ADD COMMENT
Topic
Name
8+4 =