[][src]Function webp_dev::sys::webp::webp_config_init

pub unsafe extern "C" fn webp_config_init(config: *mut WebPConfig) -> c_int

Should always be called, to initialize a fresh WebPConfig structure before modification.

Returns false in case of version mismatch. WebPConfigInit() must have succeeded before using the 'config' object. Note that the default values are lossless=0 and quality=75.