pub fn decode(rgb: &[u8], width: u32, height: u32) -> Vec<f32>
Decode RGB bytes into a freshly allocated Vec<f32>.
Vec<f32>
Panics if rgb.len() != (width * height * 3) as usize.
rgb.len() != (width * height * 3) as usize