From d009cc7db3232be8b90eed177cd73a660002f964 Mon Sep 17 00:00:00 2001 From: Cody Bushnell Date: Tue, 9 Jan 2018 14:38:07 +0000 Subject: [PATCH] make resized_black dir --- RGBA2RGB.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/RGBA2RGB.py b/RGBA2RGB.py index 29baaaa1..1bf1224c 100644 --- a/RGBA2RGB.py +++ b/RGBA2RGB.py @@ -3,6 +3,9 @@ src = "./resizedData" dst = "./resized_black/" +if not os.path.exists(dst): + os.mkdir(dst) + for each in os.listdir(src): png = Image.open(os.path.join(src,each)) # print each