From c92041285641c3dcfb03717a1c6deab112917ef7 Mon Sep 17 00:00:00 2001 From: "Eugene San (eugenesan)" Date: Thu, 24 Nov 2022 13:53:27 -0700 Subject: [PATCH] Add webp image format support --- core/pe/photo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/pe/photo.py b/core/pe/photo.py index 04225500..128e3c1f 100644 --- a/core/pe/photo.py +++ b/core/pe/photo.py @@ -29,7 +29,7 @@ class Photo(fs.File): __slots__ = fs.File.__slots__ + tuple(INITIAL_INFO.keys()) # These extensions are supported on all platforms - HANDLED_EXTS = {"png", "jpg", "jpeg", "gif", "bmp", "tiff", "tif"} + HANDLED_EXTS = {"png", "jpg", "jpeg", "gif", "bmp", "tiff", "tif", "webp"} def _plat_get_dimensions(self): raise NotImplementedError()