1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
//! Image object
mod image16bpp;
mod image1bpp;
mod image8bpp;
/// Image trait
pub trait Image<'a> {
/// Create a new image with given pixel data, width and height
fn new(imagedata: &'a [u8], width: u32, height: u32) -> Self;
}
pub use self::image16bpp::Image16BPP;
pub use self::image1bpp::Image1BPP;
pub use self::image8bpp::Image8BPP;