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
Implementors
impl<'a, C> Image<'a> for Image1BPP<'a, C> where
C: PixelColor,impl<'a, C> Image<'a> for Image8BPP<'a, C> where
C: PixelColor,