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

pub unsafe fn webp_picture_yuva_to_argb(picture: *mut WebPPicture) -> c_int

Converts picture->yuv to picture->argb and sets picture->use_argb to true.

The input format must be YUV_420 or YUV_420A. The conversion from YUV420 to ARGB incurs a small loss too. Note that the use of this colorspace is discouraged if one has access to the raw ARGB samples, since using YUV420 is comparatively lossy. Returns false in case of error.