pub unsafe extern "C" fn webp_config_preset(
config: *mut WebPConfig,
preset: WebPPreset,
quality: c_float,
) -> c_intExpand description
This function will initialize the configuration according to a predefined set of parameters (referred to by ‘preset’) and a given quality factor.
This function can be called as a replacement to WebPConfigInit(). Will return false in case of error.