Function aci_ppm::decode [] [src]

pub fn decode(
    ppm: &'static [u8]
) -> Result<(u32, u32, &'static [u8]), DecodeErrorPPM>

Decode PPM data. On success, returns image as tuple: (width, height, pixels)