diff --git a/wayshot/src/utils.rs b/wayshot/src/utils.rs index 1f8bf8b4..feca42f8 100644 --- a/wayshot/src/utils.rs +++ b/wayshot/src/utils.rs @@ -128,6 +128,7 @@ impl FromStr for EncodingFormat { "png" => Self::Png, "ppm" => Self::Ppm, "qoi" => Self::Qoi, + "webp" => Self::Webp, _ => bail!("unsupported extension '{s}'"), }) }