libmagie 0.1.0

A magical library for processing images.
Documentation
1
2
3
4
5
6
7
8
9
10
use crate::color_space::Color;

pub trait Image {
    fn size(self) -> (isize, isize);

    fn width(self) -> isize;
    fn height(self) -> isize;

    fn at(self) -> Box<dyn Color>;
}