Skip to content

Commit

Permalink
Implement missing conversion from string to webp enum (#121)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gigas002 authored Jun 18, 2024
1 parent 2dd8af6 commit 7934fd2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions wayshot/src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ impl FromStr for EncodingFormat {
"png" => Self::Png,
"ppm" => Self::Ppm,
"qoi" => Self::Qoi,
"webp" => Self::Webp,
_ => bail!("unsupported extension '{s}'"),
})
}
Expand Down

0 comments on commit 7934fd2

Please sign in to comment.