meta-artem commited on
Commit
e56d7ba
1 Parent(s): 23a9b62

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -39,7 +39,7 @@ def resize(width, img):
39
  img = Image.open(img)
40
  wpercent = (basewidth / float(img.size[0]))
41
  hsize = int((float(img.size[1]) * float(wpercent)))
42
- img = img.resize((basewidth, hsize), Image.ANTIALIAS)
43
  return img
44
 
45
 
 
39
  img = Image.open(img)
40
  wpercent = (basewidth / float(img.size[0]))
41
  hsize = int((float(img.size[1]) * float(wpercent)))
42
+ img = img.resize((basewidth, hsize), Image.LANCZOS)
43
  return img
44
 
45