JxlDecoderGetFrameName

Function JxlDecoderGetFrameName 

Source
pub unsafe extern "C-unwind" fn JxlDecoderGetFrameName(
    dec: *const JxlDecoder,
    name: *mut c_char,
    size: usize,
) -> JxlDecoderStatus
Expand description

Outputs name for the current frame. The buffer for name must have at least name_length + 1 bytes allocated, gotten from the associated JxlFrameHeader.

§Parameters

  • dec: decoder object
  • name: buffer to copy the name into
  • size: size of the name buffer in bytes, including zero termination character, so this must be at least JxlFrameHeader::name_length + 1.

§Returns