mirror of
https://github.com/RoboSats/Robohash.git
synced 2025-07-18 08:43:16 +00:00
Fix deprecated use of ANTIALIAS
This commit is contained in:
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user