pub fn image_buffer(data: &[u8]) -> Result<ImageBuffer>
Read a ImageBuffer from the bytes of its resource.
ImageBuffer