pub unsafe extern "C-unwind" fn JxlEncoderFrameSettingsCreate(
enc: *mut JxlEncoder,
source: *const JxlEncoderFrameSettings,
) -> *mut JxlEncoderFrameSettingsExpand description
Create a new set of encoder options, with all values initially copied from
the source options, or set to default if source is NULL.
The returned pointer is an opaque struct tied to the encoder and it will be
deallocated by the encoder when JxlEncoderDestroy is called. For
functions taking both a JxlEncoder and a JxlEncoderFrameSettings,
only JxlEncoderFrameSettings created with this function for the same
encoder instance can be used.
§Parameters
enc: encoder object.source: source options to copy initial values from, orNULLto get defaults initialized to defaults.
§Returns
The opaque struct pointer identifying a new set of encoder options.