Skip to main content

encode_precomputed_htj2k_53_with_mct

Function encode_precomputed_htj2k_53_with_mct 

Source
pub fn encode_precomputed_htj2k_53_with_mct(
    image: &PrecomputedHtj2k53Image,
    options: &EncodeOptions,
    use_mct: bool,
) -> Result<Vec<u8>, &'static str>
Expand description

Encode precomputed reversible 5/3 wavelet coefficients into an HTJ2K codestream while controlling the output COD multi-component transform flag.

This is intended for coefficient-domain JPEG 2000 family recoding, where source codestream components may already be reversible-color-transformed.