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

add sharpening to pil thumbnails

parent 1ada38e8
...@@ -396,7 +396,7 @@ class FileSystem(object): ...@@ -396,7 +396,7 @@ class FileSystem(object):
img = img =
img.thumbnail((width, height)) img.thumbnail((width, height))
if sharpen: if sharpen:
im.filter(ImageFilter.SHARPEN) img.filter(ImageFilter.SHARPEN), "JPEG"), "JPEG")
contents = output.getvalue() contents = output.getvalue()
output.close() output.close()
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