From d0614c160acfec198d2edbf277e7e839467db823 Mon Sep 17 00:00:00 2001 From: Reckless_Satoshi Date: Sun, 5 Nov 2023 18:37:37 +0000 Subject: [PATCH] Fix deprecated use of ANTIALIAS --- robohash/robohash.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/robohash/robohash.py b/robohash/robohash.py index e0e2ae4..9474277 100644 --- a/robohash/robohash.py +++ b/robohash/robohash.py @@ -194,6 +194,6 @@ class Robohash(object): bg.paste(roboimg,(0,0),roboimg) roboimg = bg - self.img = roboimg.resize((sizex,sizey),Image.ANTIALIAS) + self.img = roboimg.resize((sizex,sizey),Image.Resampling.LANCZOS) self.format = format