pub unsafe fn webp_picture_rescale(
pic: *mut WebPPicture,
width: c_int,
height: c_int,
) -> c_intExpand description
Rescale a picture to new dimension width x height.
If either ‘width’ or ‘height’ (but not both) is 0 the corresponding dimension will be calculated preserving the aspect ratio. No gamma correction is applied. Returns false in case of error (invalid parameter or insufficient memory).