/// Get a list of all symbols found in this image.
Get a list of all symbols found in this image.
Get a list of all symbols found in this image .
pub fn symbols_from_image(img: RgbImage) -> Vec<Symbol> {
    let mut output = Vec::new();
    for content in strings_from_image(img).iter() {
        match symbol_from_string(content.to_string()) {
            Ok(symbol) => output.push(symbol),
            Err(error) => warn!("This content could not be parsed as a symbol: {:?} The error was: {:?}", content, error),
        } 
    }
    output
}
pub fn symbols_from_image ( img : RgbImage ) -> Vec < Symbol > { let mut output = Vec :: new ( ) ; for content in strings_from_image ( img ) . iter ( ) { match symbol_from_string ( content . to_string ( ) ) { Ok ( symbol ) => output . push ( symbol ) , Err ( error ) => warn ! ( " " content error ) , } } output }
Get a list of all symbols found in this image.
Get a list of all symbols found in this image .
img
RgbImage