pub unsafe fn webp_picture_alloc(picture: *mut WebPPicture) -> c_intExpand description
Convenience allocation / deallocation based on picture->width/height
Allocate y/u/v buffers as per colorspace/width/height specification. Note! This function will free the previous buffer if needed. Returns false in case of memory error.