JxlEncoderInitFrameHeader

Function JxlEncoderInitFrameHeader 

Source
pub unsafe extern "C-unwind" fn JxlEncoderInitFrameHeader(
    frame_header: *mut JxlFrameHeader,
)
Expand description

Initializes a JxlFrameHeader struct to default values. For forwards-compatibility, this function has to be called before values are assigned to the struct fields. The default values correspond to a frame with no animation duration and the ‘replace’ blend mode. After using this function, animation duration must be set, and for composite still, blend settings must be set.

§Parameters

  • frame_header: frame metadata. Object owned by the caller.