arr : nd_array
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 : string
interpolation to use for re-sizing (‘nearest’, ‘bilinear’, ‘bicubic’ or ‘cubic’)
mode : :
mode is the PIL image mode (‘P’, ‘L’, etc.)
|