Resize

Resize(int, int, InterpolationFilterType)

Rescale image - Upscale or downscale image resolution.

public static PreprocessingFilter Resize(int width, int height, InterpolationFilterType type)
ParameterTypeDescription
widthInt32The new width of the image.
heightInt32The new height of the image.
typeInterpolationFilterTypeInterpolationFilterType

Return Value

ResizeFilter object.

See Also


Resize(int, int)

Rescale image - Upscale or downscale image resolution. InterpolationFilterType = Lanczos8

public static PreprocessingFilter Resize(int width, int height)
ParameterTypeDescription
widthInt32The new width of the image.
heightInt32The new height of the image.

Return Value

ResizeFilter object.

See Also