diff options
| author | tassaron | 2026-01-12 21:41:40 -0500 |
|---|---|---|
| committer | tassaron | 2026-01-12 21:41:40 -0500 |
| commit | 02b7d446fd84c6833e028aa44637bb7549340934 (patch) | |
| tree | a608216d35f8d267bda78c62e694ca61bb6be388 /src/components/life.py | |
| parent | 669756b391d26661cf2e2a97a304e73343ef6655 (diff) | |
update for Pillow 12 and Qt 6
Diffstat (limited to 'src/components/life.py')
| -rw-r--r-- | src/components/life.py | 2 |
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(): |
