Commit ae1bc078 authored by Gero Müller's avatar Gero Müller
Browse files

add antialiaseing pil thumbs

parent 30b86129
......@@ -394,7 +394,7 @@ class FileSystem(object):
if HAVE_PIL:
output = StringIO()
img = Image.open(path)
img.thumbnail((width, height))
img.thumbnail((width, height), Image.ANTIALIAS)
if sharpen:
img.filter(ImageFilter.SHARPEN)
img.save(output, "JPEG")
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment