print_image 0.1.2

Print an image to the terminal!
Documentation
1
2
3
4
5
6
7
8
9
use print_image::*;
use std::path::Path;

fn main() -> Result<(), PrintImageError> {    

    let _ = print_img(Path::new("assets/fireflower.png"), Some((12, 12)), handle_pixel_rgb);

    Ok(())
}