Higher quality thumbs.
This commit is contained in:
parent
99b3118cce
commit
120b8846b7
@ -260,7 +260,7 @@ class Photo(object):
|
|||||||
gc.collect()
|
gc.collect()
|
||||||
image.thumbnail((size, size), Image.ANTIALIAS)
|
image.thumbnail((size, size), Image.ANTIALIAS)
|
||||||
try:
|
try:
|
||||||
image.save(thumb_path, "JPEG")
|
image.save(thumb_path, "JPEG", quality=88)
|
||||||
except KeyboardInterrupt:
|
except KeyboardInterrupt:
|
||||||
os.unlink(thumb_path)
|
os.unlink(thumb_path)
|
||||||
raise
|
raise
|
||||||
|
Loading…
Reference in New Issue
Block a user