diff options
author | an0nfunc <40771419+an0nfunc@users.noreply.github.com> | 2023-07-05 10:52:12 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-05 10:52:12 +0200 |
commit | c303eca8cc31e5eb9edb10019f02c3a9e39a47ab (patch) | |
tree | f55172114a022371e33def0922ccaba166e3cf24 | |
parent | Add not_user_type param to the list accounts admin API (#15844) (diff) | |
download | synapse-c303eca8cc31e5eb9edb10019f02c3a9e39a47ab.tar.xz |
use Image.LANCZOS instead of Image.ANTIALIAS for thumbnail resize (#15876)
Image.ANTIALIAS is not defined in current pillow releases. Since ANTIALIAS was just using LANCZOS anyways, this is just a cosmetic change, but makes synapse work with most recent pillow releases. Signed-off-by: Giovanni Harting <539@idlegandalf.com>
-rw-r--r-- | changelog.d/15876.bugfix | 1 | ||||
-rw-r--r-- | synapse/media/thumbnailer.py | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/changelog.d/15876.bugfix b/changelog.d/15876.bugfix new file mode 100644 |