Skip to main content

decode_raw_with_height

Function decode_raw_with_height 

Source
pub fn decode_raw_with_height(
    header: &Deepmap2Header,
    payload: &[u8],
    output_height: u16,
) -> Deepmap2Result<Vec<u8>>
Expand description

解码 payload 为 RGBA,使用指定的输出高度(KCBC tile 路径)