pub unsafe extern "C-unwind" fn JxlDecoderGetFrameHeader(
dec: *const JxlDecoder,
header: *mut JxlFrameHeader,
) -> JxlDecoderStatusExpand 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 objectheader: struct to copy the information into, orNULLto only check whether the information is available through the return value.
§Returns
JxlDecoderStatus::Successif the value is availableJxlDecoderStatus::NeedMoreInputif not yet availableJxlDecoderStatus::Errorin case of other error conditions.