pub fn encode_gray_alpha10(
ya: &[u16],
width: u32,
height: u32,
cfg: &EncodeConfig,
) -> Result<Vec<u8>, EncodeError>Expand description
Encode a 10-bit interleaved grayscale+alpha image (u16 Y, A pairs) to a
HEIF file, preserving alpha as a 10-bit monochrome auxiliary image.