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,