JxlDecoderGetFrameHeader

Function JxlDecoderGetFrameHeader 

Source
pub unsafe extern "C-unwind" fn JxlDecoderGetFrameHeader(
    dec: *const JxlDecoder,
    header: *mut JxlFrameHeader,
) -> JxlDecoderStatus
Expand description

Outputs the information from the frame, such as duration when have_animation. This function can be called when JxlDecoderStatus::Frame occurred for the current frame, even when have_animation in the JxlBasicInfo is JxlBool::False.

§Parameters

  • dec: decoder object
  • header: struct to copy the information into, or NULL to only check whether the information is available through the return value.

§Returns