aboutsummaryrefslogtreecommitdiff
path: root/src/components/life.py
diff options
context:
space:
mode:
authortassaron2026-01-12 21:41:40 -0500
committertassaron2026-01-12 21:41:40 -0500
commit02b7d446fd84c6833e028aa44637bb7549340934 (patch)
treea608216d35f8d267bda78c62e694ca61bb6be388 /src/components/life.py
parent669756b391d26661cf2e2a97a304e73343ef6655 (diff)
update for Pillow 12 and Qt 6
Diffstat (limited to 'src/components/life.py')
-rw-r--r--src/components/life.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/life.py b/src/components/life.py
index b3c2c58..5b719d1 100644
--- a/src/components/life.py
+++ b/src/components/life.py
@@ -179,7 +179,7 @@ class Component(Component):
img = Image.open(self.image)
except Exception:
return
- img = img.resize((self.pxWidth, self.pxHeight), Image.ANTIALIAS)
+ img = img.resize((self.pxWidth, self.pxHeight), Image.Resampling.LANCZOS)
frame.paste(img, box=(drawPtX, drawPtY))
def drawShape():