GitHub project page

Struct lodepng::RawBitmap [-]  [+] [src]

pub struct RawBitmap<T> {
    pub buffer: CVec<T>,
    pub width: c_uint,
    pub height: c_uint,
}

Low-level representation of an image

Fields

buffer

Raw bitmap memory. Layout depends on color mode and bitdepth used to create it.

width

Width in pixels

height

Height in pixels

Trait Implementations

impl<T> Show for RawBitmap<T>

fn fmt(&self, f: &mut Formatter) -> Result