Function WebPPictureARGBToYUVADithered

Source
pub unsafe extern "C" fn WebPPictureARGBToYUVADithered(
    picture: *mut WebPPicture,
    colorspace: WebPEncCSP,
    dithering: c_float,
) -> c_int
Expand description

Same as WebPPictureARGBToYUVA(), but the conversion is done using pseudo-random dithering with a strength dithering between 0.0 (no dithering) and 1.0 (maximum dithering). This is useful for photographic picture.