Skip to main content

compress

Function compress 

Source
pub fn compress<S: Data<Elem = f32>, D: Dimension>(
    data: ArrayBase<S, D>,
    residual: EbccResidualType,
    base_cr: Positive<f32>,
) -> Result<Vec<u8>, EbccCodecError>
Expand description

Compress the data array using EBCC with the provided residual and base_cr.

ยงErrors

Errors with