Trait embedded_graphics::image::Image
[−]
[src]
pub trait Image<'a> { fn new(imagedata: &'a [u8], width: u32, height: u32) -> Self; }
Image trait
Required Methods
fn new(imagedata: &'a [u8], width: u32, height: u32) -> Self
Create a new image with given pixel data, width and height