Higher quality thumbs.

master
Jason A. Donenfeld 2012-04-22 19:20:54 +02:00
parent 99b3118cce
commit 120b8846b7
1 changed files with 1 additions and 1 deletions

View File

@ -260,7 +260,7 @@ class Photo(object):
gc.collect()
image.thumbnail((size, size), Image.ANTIALIAS)
try:
image.save(thumb_path, "JPEG")
image.save(thumb_path, "JPEG", quality=88)
except KeyboardInterrupt:
os.unlink(thumb_path)
raise