pub fn encode(elevations: &[f32], width: u32, height: u32) -> Vec<u8> ⓘ
Encode elevations into a freshly allocated Vec<u8>.
elevations
Vec<u8>