Skip to content

Commit

Permalink
Map .apng files to ImageFormat::Png
Browse files Browse the repository at this point in the history
  • Loading branch information
SludgePhD authored Jun 23, 2024
1 parent 6e73a17 commit db7f9f0
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 @@ -89,7 +89,7 @@ impl ImageFormat {
Some(match ext.as_str() {
"avif" => ImageFormat::Avif,
"jpg" | "jpeg" => ImageFormat::Jpeg,
"png" => ImageFormat::Png,
"png" | "apng" => ImageFormat::Png,
"gif" => ImageFormat::Gif,
"webp" => ImageFormat::WebP,
"tif" | "tiff" => ImageFormat::Tiff,
Expand Down

0 comments on commit db7f9f0

Please sign in to comment.