Function image_filter_from

Source
pub fn image_filter_from(filter: String) -> FilterType
Expand description

Converts a String to a image::codecs::png::FilterType. This can not be done by implementing the trait From<String> for FilterType due to Rust’s orphan rule.