调整大小

Resize(int, int, InterpolationFilterType)

重新缩放图像——放大或缩小图像分辨率。

public static PreprocessingFilter Resize(int width, int height, InterpolationFilterType type)
ParameterType描述
widthInt32图像的新宽度。
高度Int32图像的新高度。
typeInterpolationFilterTypeInterpolationFilterType

返回值

ResizeFilter 对象。

另请参见


Resize(int, int)

重新缩放图像——放大或缩小图像分辨率。InterpolationFilterType = Lanczos8

public static PreprocessingFilter Resize(int width, int height)
ParameterType描述
widthInt32图像的新宽度。
高度Int32图像的新高度。

返回值

ResizeFilter 对象。

另请参见