GitHub project page

Enum lodepng::Image [-]  [+] [src]

pub enum Image {
    RawData(Bitmap<u8>),
    RGBA(Bitmap<RGBA>),
    RGB(Bitmap<RGB>),
}

Images with <8bpp are represented as a bunch of bytes

To safely convert RGB/RGBA see Vec::map_in_place, or use transmute()

Variants

RawData
RGBA
RGB