PreprocessingFilter.Resize

Resize(int, int, InterpolationFilterType)

Rescale image - 放大或缩小图像分辨率。

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

返回值

调整大小过滤器对象。

也可以看看


Resize(int, int)

Rescale image - 放大或缩小图像分辨率。 InterpolationFilterType = Lanczos8

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

返回值

调整大小过滤器对象。

也可以看看