pub unsafe extern "C-unwind" fn JxlEncoderFrameSettingsSetOption(
frame_settings: *mut JxlEncoderFrameSettings,
option: JxlEncoderFrameSettingId,
value: i64,
) -> JxlEncoderStatusExpand description
Sets a frame-specific option of integer type to the encoder options.
The JxlEncoderFrameSettingId argument determines which option is set.
§Parameters
frame_settings: set of options and metadata for this frame. Also includes reference to the encoder object.option: ID of the option to set.value: Integer value to set for this option.
§Returns
JxlEncoderStatus::Successif the operation was successful.JxlEncoderStatus::Errorin case of an error, such as invalid or unknown option id, or invalid integer value for the given option. If an error is returned, the state of theJxlEncoderFrameSettingsobject is still valid and is the same as before this function was called.