resize method

resize

Resizes the image.

def resize(self, new_width, new_height, resize_type):
    ...
ParameterTypeDescription
new_widthintThe new width.
new_heightintThe new height.
resize_typeResizeTypeThe resize type.

resize

Resizes the image.

def resize(self, new_width, new_height, settings):
    ...
ParameterTypeDescription
new_widthintThe new width.
new_heightintThe new height.
settingsImageResizeSettingsThe resize settings.

See Also