blob: 64fb9363aad51cdadd3e5f916e1e119f3409ef0d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
--- synapse/media/thumbnailer.py.orig 2023-07-11 08:10:15 UTC
+++ synapse/media/thumbnailer.py
@@ -131,7 +131,7 @@ class Thumbnailer:
else:
with self.image:
self.image = self.image.convert("RGB")
- return self.image.resize((width, height), Image.ANTIALIAS)
+ return self.image.resize((width, height), Image.LANCZOS)
def scale(self, width: int, height: int, output_type: str) -> BytesIO:
"""Rescales the image to the given dimensions.
|