The interpolation mode for resizing images.
Hierarchy
System.Object
System.ValueType
System.Enum
WebSupergoo.ImageGlue7.DrawOptions.InterpolationType
Interfaces
System.IComparable
System.IFormattable
System.IConvertible
Notes

This class is sealed. It cannot be derived from.

Fields
Field Description
Auto Automatically decide a good method. This automatically chooses an appropriate interpolation algorithm given the type of image and the type of scaling. If you are aiming to maximize quality this is the setting you should use.
Cubic Cubic interpolation.
Lanczos Interpolation using 3-lobed Lanczos window function.
Linear Linear interpolation. The Linear, Cubic and Lanczos methods are progressively higher quality methods based around a weighted average of pixels from the source image. However they are also progressively slower.
NearestNeighbor Nearest neighbor interpolation. This is the fastest but also the lowest quality method. It simply finds the nearest pixel in the source image and maps it through to the destination image. However it is also the only method which can be used for Indexed color images.
Super Super sampling interpolation (cannot be used for enlarging). The Linear, Cubic and Lanczos methods use weighted averages from a limited number of pixels in the source image. For large size reductions this may result in information from some pixels in the source image being completely discarded. The super method aims to work around this issue by increasing coverage to all the pixels in the source image. It only works if an image is being reduced in both height and width.
See Also

Interpolation

Example

None.