Trait smartcrop::Image
[−]
[src]
pub trait Image: Sized { fn width(&self) -> u32; fn height(&self) -> u32; fn get(&self, x: u32, y: u32) -> RGB; }
Required Methods
Implementors
impl<I, P> Image for I where
I: GenericImage<Pixel = P> + 'static,
P: Pixel<Subpixel = u8> + 'static,