InterpolationMode 枚举
定义
InterpolationMode 枚举指定在缩放或旋转图像时使用的算法。The InterpolationMode enumeration specifies the algorithm that is used when images are scaled or rotated.
public enum class InterpolationMode
public enum InterpolationMode
type InterpolationMode =
Public Enum InterpolationMode
- 继承
字段
Bicubic | 4 | 指定双三次插值法。Specifies bicubic interpolation. 不进行预筛选。No prefiltering is done. 将图像收缩为原始大小的 25% 以下时,此模式不适用。This mode is not suitable for shrinking an image below 25 percent of its original size. |
Bilinear | 3 | 指定双线性插值法。Specifies bilinear interpolation. 不进行预筛选。No prefiltering is done. 将图像收缩为原始大小的 50% 以下时,此模式不适用。This mode is not suitable for shrinking an image below 50 percent of its original size. |
Default | 0 | 指定默认模式。Specifies default mode. |
High | 2 | 指定高质量插值法。Specifies high quality interpolation. |
HighQualityBicubic | 7 | 指定高质量的双三次插值法。Specifies high-quality, bicubic interpolation. 执行预筛选以确保高质量的收缩。Prefiltering is performed to ensure high-quality shrinking. 此模式可产生质量最高的转换图像。This mode produces the highest quality transformed images. |
HighQualityBilinear | 6 | 指定高质量的双线性插值法。Specifies high-quality, bilinear interpolation. 执行预筛选以确保高质量的收缩。Prefiltering is performed to ensure high-quality shrinking. |
Invalid | -1 | 等效于 Invalid 枚举的 QualityMode 元素。Equivalent to the Invalid element of the QualityMode enumeration. |
Low | 1 | 指定低质量插值法。Specifies low quality interpolation. |
NearestNeighbor | 5 | 指定最临近插值法。Specifies nearest-neighbor interpolation. |