pub trait Image<'a>: Dimensions {
    fn new(imagedata: &'a [u8], width: u32, height: u32) -> Self;
}
Expand description

Image trait

Required Methods

Create a new image with given pixel data, width and height

Implementors