pub fn encode_image_f16(
input: &[f32],
width: usize,
height: usize,
config: &EncodeConfig,
) -> Result<Vec<u8>, EncodeError>Expand description
Encode a 16-bit-half float RGB image (lossy). Input is f32 in [0, 1]; the stream is declared as f16.