mirror of https://gitlab.com/litecord/litecord.git
Merge branch 'master' of gitlab.com:luna/litecord
This commit is contained in:
commit
7da305d883
|
|
@ -238,7 +238,7 @@ class IconManager:
|
||||||
log.info('resizing from {} to {}',
|
log.info('resizing from {} to {}',
|
||||||
image.size, want)
|
image.size, want)
|
||||||
|
|
||||||
resized = image.resize(want)
|
resized = image.resize(want, resample=Image.LANCZOS)
|
||||||
|
|
||||||
data_fd = BytesIO()
|
data_fd = BytesIO()
|
||||||
resized.save(data_fd, format=extension)
|
resized.save(data_fd, format=extension)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue