mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-16 11:00:17 -04:00
Fix webp thumbnailing
This commit is contained in:
parent
c657c481d3
commit
311fe6378c
2 changed files with 3 additions and 2 deletions
|
@ -39,7 +39,7 @@ class ThumbnailError(Exception):
|
|||
|
||||
class Thumbnailer:
|
||||
|
||||
FORMATS = {"image/jpeg": "JPEG", "image/png": "PNG"}
|
||||
FORMATS = {"image/jpeg": "JPEG", "image/png": "PNG", "image/webp": "WEBP"}
|
||||
|
||||
def __init__(self, input_path: str):
|
||||
try:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue