调整大小

Resize(int, int, InterpolationFilterType)

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

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

返回值

ResizeFilter 对象。

另见


Resize(int, int)

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

public static PreprocessingFilter Resize(int width, int height)
参数类型描述
宽度Int32图像的新宽度。
高度Int32图像的新高度。

返回值

ResizeFilter 对象。

另见