From 58a72782d666cc51f92c37b6ca3ea34176da9056 Mon Sep 17 00:00:00 2001 From: Martin Quarda Date: Thu, 9 May 2024 17:12:34 +0200 Subject: [PATCH] print image --- resize_photos.py | 1 + 1 file changed, 1 insertion(+) diff --git a/resize_photos.py b/resize_photos.py index f498e4c..a72aab4 100644 --- a/resize_photos.py +++ b/resize_photos.py @@ -4,6 +4,7 @@ import PIL.Image photos = glob.glob('photos/*.jpg') for image in photos: + print(image) img = PIL.Image.open(image) img.save(image.replace('.jpg', '.webp')) ratio = 200/max(img.height, img.width)