Save thumbnails with explicit quality setting.
This should have been the default value anyway, but T49477 looks like it may not be. This should solve that.
This commit is contained in:
parent
05f6fb6016
commit
964526924d
@ -32,7 +32,7 @@ def generate_local_thumbnails(name_base, src):
|
||||
else:
|
||||
im = Image.open(src).convert('RGB')
|
||||
im.thumbnail(settings['size'])
|
||||
im.save(dst, "JPEG")
|
||||
im.save(dst, format='JPEG', quality=75)
|
||||
width, height = im.size
|
||||
|
||||
thumb_info = {'size': size,
|
||||
|
Loading…
x
Reference in New Issue
Block a user