From 259cb0cf1dad50f106542c72c8cf50ac348259b7 Mon Sep 17 00:00:00 2001 From: Tanner Collin Date: Tue, 9 Dec 2025 21:34:54 -0700 Subject: [PATCH] chore: Remove commented-out image resize logic --- main.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/main.py b/main.py index 619829f..00e42cd 100644 --- a/main.py +++ b/main.py @@ -31,11 +31,6 @@ def print_picture(filename, p): img = Image.open(io.BytesIO(response.content)) - ## Resize first - #wpercent = (PRINTER_WIDTH / float(img.size[0])) - #hsize = int((float(img.size[1]) * float(wpercent))) - #img = img.resize((PRINTER_WIDTH, hsize), Image.LANCZOS) - # Convert with dithering img = img.convert('1', dither=Image.FLOYDSTEINBERG)