use photo::ImageRGBA;
use std::any::type_name;

type T = f64;

const INPUT_DIR: &str = "input";

fn main() {
    let image_name: &str = &format!("colour_alpha-{}.png", type_name::<T>());
    let filepath = format!("{}/{}", INPUT_DIR, image_name);

    let image = ImageRGBA::<T>::load(filepath).expect("Failed to load image");

    println!("{}", image);
}
