JxlEncoderFrameSettingsSetFloatOption

Function JxlEncoderFrameSettingsSetFloatOption 

Source
pub unsafe extern "C-unwind" fn JxlEncoderFrameSettingsSetFloatOption(
    frame_settings: *mut JxlEncoderFrameSettings,
    option: JxlEncoderFrameSettingId,
    value: f32,
) -> JxlEncoderStatus
Expand 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