Leadtools.Windows.Media.Effects Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.02.15
ResizeInterpolateCommandBitmapEffectsType Enumeration
See Also  
Leadtools.Windows.Media.Effects.Core Namespace : ResizeInterpolateCommandBitmapEffectsType Enumeration





Represents the algorithm type used in resizing the image.

Syntax

Visual Basic (Declaration) 
Public Enum ResizeInterpolateCommandBitmapEffectsType 
   Inherits Enum
Visual Basic (Usage)Copy Code
Dim instance As ResizeInterpolateCommandBitmapEffectsType
C# 
public enum ResizeInterpolateCommandBitmapEffectsType : Enum 
Managed Extensions for C++ 
__value public enum ResizeInterpolateCommandBitmapEffectsType : public Enum 
C++/CLI 
public enum class ResizeInterpolateCommandBitmapEffectsType : public Enum 
XAML Attributes Usage 

<object property=EnumerationValue .../>

Members

MemberDescription
Normal This is the fastest one. Not recommended at all, because aliasing is present everywhere.
Resample Linear interpolation and averaging. Produces a higher-quality image.
Bicubic Bicubic interpolation and averaging. Produces a high quality image. This is slower than ResizeInterpolateCommandBitmapEffectsType.Bilinear.
Triangle Triangular-peaked weighting averaging. Produces a high quality image.
Hermite Hermite interpolation. Produces a good quality image, better than ResizeInterpolateCommandBitmapEffectsType.Bresenham but less than ResizeInterpolateCommandBitmapEffectsType.Bilinear. It uses the cubic spline from Hermite interpolation. This is Slower than ResizeInterpolateCommandBitmapEffectsType.Bilinear.
Bell Bell interpolation. Produces a high quality image. This filter blurs the image and at the same time resizes it. If you want performance similar to bicubic filtering but your source image is noisy, then try this one.
QuadraticBSpline Quadratic B-Spline interpolation. Produces a smooth quality image but not as good as ResizeInterpolateCommandBitmapEffectsType.CubicBSpline. This is Faster than ResizeInterpolateCommandBitmapEffectsType.Bicubic but less than ResizeInterpolateCommandBitmapEffectsType.CubicBSpline.
CubicBSpline Cubic B-Spline interpolation. Produces a very smooth quality image(most blurry). One step further from ResizeInterpolateCommandBitmapEffectsType.Bell, although a bit slower and more blurry with less noise and sharpness. It is faster than ResizeInterpolateCommandBitmapEffectsType.Bicubic.
BoxFilter Equivalent to Normal (Nearest Neighbor) when upsampling. Averages pixels on downsampling. Gives the best result for images with single pixel lines.
Lanczos Lanczos interpolation that uses Sinc (sinx/x) to produce a high quality image. Provides the best quality but it is rather slow.
Michell Michell interpolation. Produces a smooth quality image but inferior to ResizeInterpolateCommandBitmapEffectsType.Bell. A bit slower and more blurred image, but less noisy and less sharp though).This is faster than ResizeInterpolateCommandBitmapEffectsType.QuadraticBSpline. This is Slower than ResizeInterpolateCommandBitmapEffectsType.Bell. A bit slower and more blurred image, but less noisy and less sharp though).This is slower than ResizeInterpolateCommandBitmapEffectsType.Bicubic.
Cosine Makes use of the Cosine function when interpolating. Produces a good quality image.
Catrom CatmullRom interpolation. Produces a high quality image. Slower than ResizeInterpolateCommandBitmapEffectsType.Bicubic, but faster than ResizeInterpolateCommandBitmapEffectsType.Lanczos.
Quadratic Quadratic interpolation. Produces a high quality image, but inferior to ResizeInterpolateCommandBitmapEffectsType.Bilinear. Slower than ResizeInterpolateCommandBitmapEffectsType.Bicubic.
CubicConvolution Cubic convolution interpolation. Produces a high quality image. Enhances the image edges. Slower than ResizeInterpolateCommandBitmapEffectsType.Bicubic.
Bilinear Bilinear interpolation and averaging. Produces a high-quality image. It is fast but slower than ResizeInterpolateCommandBitmapEffectsType.Normal and ResizeInterpolateCommandBitmapEffectsType.Bresenham.
Bresenham Bresenham interpolation and averaging. Produces a good quality image(better than ResizeInterpolateCommandBitmapEffectsType.Normal). It is slower than ResizeInterpolateCommandBitmapEffectsType.Normal but faster than ResizeInterpolateCommandBitmapEffectsType.Bilinear.

Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         Leadtools.Windows.Media.Effects.Core.ResizeInterpolateCommandBitmapEffectsType

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, and Windows Server 2003

See Also