Skip to content

Commit

Permalink
Recognize '.jfif' extension as JPEG file (#2362)
Browse files Browse the repository at this point in the history
  • Loading branch information
ClementNerma authored Oct 24, 2024
1 parent 25fbd3f commit 7a0a638
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/image.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 7a0a638

Please sign in to comment.