Skip to main content

encode_htj2k

Function encode_htj2k 

Source
pub fn encode_htj2k(
    pixels: &[u8],
    width: u32,
    height: u32,
    bits_per_sample: u8,
    samples_per_pixel: u8,
    lossless: bool,
) -> DcmResult<Vec<u8>>
Expand description

Encode raw pixel data into an HTJ2K codestream.