We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7815c14 + f7e0c31 commit 3102a16Copy full SHA for 3102a16
1 file changed
core/utils.py
@@ -26,7 +26,7 @@ def create_thumbnail(imagepath: str, basewidth: int, force=False) -> bool:
26
img = Image.open(imagepath)
27
wpercent = basewidth / float(img.size[0])
28
hsize = int((float(img.size[1]) * float(wpercent)))
29
- img = img.resize((basewidth, hsize), Image.ANTIALIAS)
+ img = img.resize((basewidth, hsize), Image.LANCZOS)
30
thumbfilename = "{}_th{}".format(
31
path.splitext(imagepath)[0],
32
path.splitext(imagepath)[1],
0 commit comments