fn resolve_base_format<'a>(format: &'a str, type_: &str) -> (&'a str, bool)
Resolves WebP format to the appropriate base format for generation.