Skip to content

Commit

Permalink
Recognize '.jfif' extension as JPEG file
Browse files Browse the repository at this point in the history
  • Loading branch information
ClementNerma committed Oct 24, 2024
1 parent 25fbd3f commit bad5985
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 bad5985

Please sign in to comment.