Skip to main content

image_format_from_ext

Function image_format_from_ext 

Source
pub fn image_format_from_ext(ext: &str) -> Option<ImageFormat>
Expand description

由扩展名/格式名(不含点,大小写不敏感)映射到 ImageFormat