Function WebPConfigInit

Source
pub unsafe extern "C" fn WebPConfigInit(
    config: *mut WebPConfig,
) -> c_int
Expand description

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.