Skip to content

Commit 3102a16

Browse files
committed
Merge branch 'dev'
2 parents 7815c14 + f7e0c31 commit 3102a16

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

core/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def create_thumbnail(imagepath: str, basewidth: int, force=False) -> bool:
2626
img = Image.open(imagepath)
2727
wpercent = basewidth / float(img.size[0])
2828
hsize = int((float(img.size[1]) * float(wpercent)))
29-
img = img.resize((basewidth, hsize), Image.ANTIALIAS)
29+
img = img.resize((basewidth, hsize), Image.LANCZOS)
3030
thumbfilename = "{}_th{}".format(
3131
path.splitext(imagepath)[0],
3232
path.splitext(imagepath)[1],

0 commit comments

Comments
 (0)