InterpolationMode 枚举

定义

InterpolationMode 枚举指定缩放或旋转图像时使用的算法。

public enum class InterpolationMode
public enum InterpolationMode
type InterpolationMode = 
Public Enum InterpolationMode
继承
InterpolationMode

字段

名称 说明
Invalid -1

等效于 Invalid 枚举的 QualityMode 元素。

Default 0

指定默认模式。

Low 1

指定低质量内插。

High 2

指定高质量内插。

Bilinear 3

指定双线性内插。 未执行预筛选。 此模式不适用于缩小其原始大小的 50% 以下的图像。

Bicubic 4

指定 bicubic 内插。 未执行预筛选。 此模式不适用于缩小其原始大小的 25% 以下的图像。

NearestNeighbor 5

指定最接近的邻居内插。

HighQualityBilinear 6

指定高质量双线性内插。 执行预筛选以确保高质量收缩。

HighQualityBicubic 7

指定高质量的 bicubic 内插。 执行预筛选以确保高质量收缩。 此模式生成质量最高的转换图像。

适用于

另请参阅