From e60993e42d860329de8fa210081004c77018f966 Mon Sep 17 00:00:00 2001 From: Patrick Cloke Date: Mon, 25 Sep 2023 08:12:05 -0400 Subject: [PATCH] Revert "Temporarily disable webp thumbnailing" This reverts commit 93248076c2a0eecc631a7ce7503f3d5e773e224c. --- synapse/media/thumbnailer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/synapse/media/thumbnailer.py b/synapse/media/thumbnailer.py index 359b3233ef..d8979813b3 100644 --- a/synapse/media/thumbnailer.py +++ b/synapse/media/thumbnailer.py @@ -51,7 +51,7 @@ class Thumbnailer: self._closed = False try: - self.image = Image.open(input_path, formats=["jpeg", "gif", "png"]) + self.image = Image.open(input_path) except OSError as e: # If an error occurs opening the image, a thumbnail won't be able to # be generated.