Function pmd_wan::decode_image_pixel[][src]

pub fn decode_image_pixel(
    pixels: &[u8],
    resolution: &Resolution
) -> Result<Vec<u8>, DecodeImageError>
Expand description

Take the raw encoded image (from an ImageBytes), and decode them into a list of pixels