Function WebPPictureCopy

Source
pub unsafe extern "C" fn WebPPictureCopy(
    src: *const WebPPicture,
    dst: *mut WebPPicture,
) -> c_int
Expand description

Copy the pixels of *src into *dst, using WebPPictureAlloc. Upon return, *dst will fully own the copied pixels (this is not a view). The dst picture need not be initialized as its content is overwritten. Returns false in case of memory allocation error.