ResampleMethod Enumeration |
Namespace: Atalasoft.Imaging.ImageProcessing
| Member name | Description | |
|---|---|---|
| Default | Uses a predefined resampling method depending on the image PixelFormat and final size. Uses Nearest Neighbor resampling for 1-bit and 8-bit colormapped images, BiLinear when increasing the size of continuous tone images. and AreaAverage when reducing continuous tone images. | |
| NearestNeighbor | Use the nearest pixel value. This is the fastest algorithm. | |
| BiLinear | Uses bi-linear resampling. Yields good results when enlarging images, and fairly fast. | |
| BiCubic | Uses bi-cubic interpolation. Better quality then bi-linear but slower. | |
| AreaAverage | Average the pixel values when reducing image size. Will cause an exception to be thrown if increasing image size. | |
| BoxFilter | BoxFilter resize algorithm. | |
| TriangleFilter | TriangleFilter resize algorithm. | |
| HammingFilter | HammingFilter resize algorithm. | |
| GaussianFilter | GaussianFilter resize algorithm. | |
| BellFilter | BellFilter resize algorithm. | |
| BsplineFilter | BsplineFilter resize algorithm. | |
| Cubic1Filter | CubicFilter resize algorithm. | |
| Cubic2Filter | Cubic2Filter resize algorithm. | |
| LanczosFilter | Generally yields the best results for photographic images at the expense of speed. Very similar to Photoshop's Bi-cubic reductions. | |
| MitchellFilter | MitchellFilter resize algorithm. | |
| SincFilter | SincFilter resize algorithm. | |
| HermiteFilter | HermiteFilter resize algorithm. | |
| HanningFilter | HanningFilter resize algorithm. | |
| CatromFilter | CatromFilter resize algorithm. |