Skip to main content

encode_mnf5

Function encode_mnf5 

Source
pub fn encode_mnf5(
    pixels: &[u8],
    dims: Dims,
    use_atlas: bool,
    use_geom: bool,
) -> Result<Vec<u8>>
Expand description

One-call MNF5 encode (the CLI’s pipeline exposed as API): split, encode the tile stream, compress, and assemble header + payload.

The other formats have one-call fns (mnf6::encode_mnf7, mnf8::encode_mnf8); this closes the same convenience gap for MNF5.