arr : ndarray
The array of image to be resized.
size : int, float or tuple
- int - Percentage of current size.
- float - Fraction of current size.
- tuple - Size of the output image.
interp : str
Interpolation to use for re-sizing (‘nearest’, ‘bilinear’, ‘bicubic’
or ‘cubic’).
mode : str
The PIL image mode (‘P’, ‘L’, etc.).
|