pub unsafe extern "C-unwind" fn JxlEncoderFrameSettingsSetFloatOption(
frame_settings: *mut JxlEncoderFrameSettings,
option: JxlEncoderFrameSettingId,
value: f32,
) -> JxlEncoderStatusExpand description
Sets a frame-specific option of float 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: Float 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 float 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.