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

pub unsafe fn webp_picture_copy(
    src: *const WebPPicture,
    dst: *mut WebPPicture
) -> c_int

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.