Fix deprecated use of ANTIALIAS

This commit is contained in:
Reckless_Satoshi
2023-11-05 18:37:37 +00:00
parent 9e9f80aea2
commit d0614c160a

View File

@ -194,6 +194,6 @@ class Robohash(object):
bg.paste(roboimg,(0,0),roboimg) bg.paste(roboimg,(0,0),roboimg)
roboimg = bg roboimg = bg
self.img = roboimg.resize((sizex,sizey),Image.ANTIALIAS) self.img = roboimg.resize((sizex,sizey),Image.Resampling.LANCZOS)
self.format = format self.format = format