PreprocessingFilter.Scale

Scale(float)

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

public static PreprocessingFilter Scale(float ratio)
范围类型描述
ratioSingle比例因子。建议从 0.1 到 1 收缩。从 1 到 10 放大。

返回值

比例过滤器对象。

也可以看看


Scale(float, InterpolationFilterType)

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

public static PreprocessingFilter Scale(float ratio, InterpolationFilterType type)
范围类型描述
ratioSingle比例因子。建议从 0.1 到 1 收缩。从 1 到 10 放大。
typeInterpolationFilterTypeInterpolationFilterType

返回值

比例过滤器对象。

也可以看看