From 7a0a638b3c0cbbcb36e920a5ae2ff15263770069 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Nerma?= Date: Thu, 24 Oct 2024 19:01:19 +0200 Subject: [PATCH] Recognize '.jfif' extension as JPEG file (#2362) --- src/image.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/image.rs b/src/image.rs index e2bddf3a29..131e95707c 100644 --- a/src/image.rs +++ b/src/image.rs @@ -90,7 +90,7 @@ impl ImageFormat { Some(match ext.as_str() { "avif" => ImageFormat::Avif, - "jpg" | "jpeg" => ImageFormat::Jpeg, + "jpg" | "jpeg" | "jfif" => ImageFormat::Jpeg, "png" | "apng" => ImageFormat::Png, "gif" => ImageFormat::Gif, "webp" => ImageFormat::WebP,