mirror of
https://github.com/RoboSats/Robohash.git
synced 2025-07-18 16:53:21 +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)
|
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
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user