[][src]Function pconvert_rust::pymodule::utils::get_compression_type

pub fn get_compression_type(options: &Option<Options>) -> CompressionType

Retrieves the image::codecs::png::CompressionType value from the Options map if it exists. Otherwise it returns the default value: CompressionType::Fast.