Click or drag to resize
EmfPlusFilterType Enumeration
The FilterType enumeration defines types of filtering algorithms that can be used for text and graphics quality enhancement and image rendering.

Namespace: Aspose.Imaging.FileFormats.Emf.EmfPlus.Consts
Assembly: Aspose.Imaging (in Aspose.Imaging.dll) Version: 21.05
public enum EmfPlusFilterType
  Member nameValueDescription
FilterTypeNone0 Specifies that filtering is not performed.
FilterTypePoint1 Specifies that each destination pixel is computed by sampling the nearest pixel from the source image.
FilterTypeLinear2 Specifies that linear interpolation is performed using the weighted average of a 2x2 area of pixels surrounding the source pixel.
FilterTypeTriangle3 Specifies that each pixel in the source image contributes equally to the destination image. This is the slowest of filtering algorithms.
FilterTypeBox4 Specifies a box filter algorithm, in which each destination pixel is computed by averaging a rectangle of source pixels. This algorithm is useful only when reducing the size of an image.
FilterTypePyramidalQuad6 Specifies that a 4-sample tent filter is used.
FilterTypeGaussianQuad7 Specifies that a 4-sample Gaussian filter is used, which creates a blur effect on an image.
See Also