EmfPlusInterpolationMode
Inheritance: java.lang.Object, com.aspose.ms.System.ValueType, com.aspose.ms.System.Enum
public final class EmfPlusInterpolationMode extends System.Enum
InterpolationMode 枚举定义了执行缩放的方式,包括拉伸和收缩。
字段
| 字段 | 描述 |
|---|---|
| InterpolationModeDefault | 指定默认的插值模式,定义为 InterpolationModeBilinear。 |
| InterpolationModeLowQuality | 指定低质量的插值模式,定义为 InterpolationModeNearestNeighbor。 |
| InterpolationModeHighQuality | 指定高质量的插值模式,定义为 InterpolationModeHighQualityBicubic。 |
| InterpolationModeBilinear | 指定双线性插值,它使用围绕插值像素的最近 2×2 像素邻域。 |
| InterpolationModeBicubic | 指定双三次插值,它使用围绕插值像素的最近 4x4 像素邻域的已知像素。 |
| InterpolationModeNearestNeighbor | 指定最近邻插值,它仅使用最接近插值像素的像素值。 |
| InterpolationModeHighQualityBilinear | 指定带预过滤的双线性插值。 |
| InterpolationModeHighQualityBicubic | 指定带预过滤的双三次插值,它在这些选项中产生最高质量的结果。 |
InterpolationModeDefault
public static final byte InterpolationModeDefault
指定默认的插值模式,定义为 InterpolationModeBilinear。
InterpolationModeLowQuality
public static final byte InterpolationModeLowQuality
指定低质量的插值模式,定义为 InterpolationModeNearestNeighbor。
InterpolationModeHighQuality
public static final byte InterpolationModeHighQuality
指定高质量的插值模式,定义为 InterpolationModeHighQualityBicubic。
InterpolationModeBilinear
public static final byte InterpolationModeBilinear
指定双线性插值,它使用围绕插值像素的最近 2x2 像素邻域的已知像素。对这 4 个已知像素值进行加权平均,以确定分配给插值像素的值。其结果比 InterpolationModeNearestNeighbor 更平滑。
InterpolationModeBicubic
public static final byte InterpolationModeBicubic
指定双三次插值,它使用围绕插值像素的最近 4x4 像素邻域的已知像素。对这 16 个已知像素值进行加权平均,以确定分配给插值像素的值。由于已知像素与插值像素的距离可能不同,较近的像素在计算中获得更高的权重。其结果比 InterpolationModeBilinear 更平滑。
InterpolationModeNearestNeighbor
public static final byte InterpolationModeNearestNeighbor
指定最近邻插值,它仅使用最接近插值像素的像素值。此模式仅复制或删除像素,在这些选项中产生最低质量的结果。
InterpolationModeHighQualityBilinear
public static final byte InterpolationModeHighQualityBilinear
指定带预过滤的双线性插值。
InterpolationModeHighQualityBicubic
public static final byte InterpolationModeHighQualityBicubic
指定带预过滤的双三次插值,它在这些选项中产生最高质量的结果。