diff --git a/core/utils.py b/core/utils.py index 48eb802..22179db 100644 --- a/core/utils.py +++ b/core/utils.py @@ -26,7 +26,7 @@ def create_thumbnail(imagepath: str, basewidth: int, force=False) -> bool: img = Image.open(imagepath) wpercent = basewidth / float(img.size[0]) hsize = int((float(img.size[1]) * float(wpercent))) - img = img.resize((basewidth, hsize), Image.ANTIALIAS) + img = img.resize((basewidth, hsize), Image.LANCZOS) thumbfilename = "{}_th{}".format( path.splitext(imagepath)[0], path.splitext(imagepath)[1],