6
for file in glob.glob("../pil-archive/*"):
7
f, e = os.path.splitext(file)
8
if e in [".txt", ".ttf", ".otf", ".zip"]:
11
im = PIL.Image.open(file)
14
print("-", "failed to open", file, "-", v)
16
print("+", file, im.mode, im.size, im.format)
21
print("-", "failed to get exif info from", file, "-", v)