# SamplerInterpolation enum

Namespace: [Grasshopper2.Imaging](https://developer.rhino3d.com/api/gh2/namespace/grasshopper2.imaging.md) · Assembly: [Grasshopper2](https://developer.rhino3d.com/api/gh2/assembly/grasshopper2.md)

```cs
public enum SamplerInterpolation
```

Enumerates all possible resize interpolation algorithms.

## Values

| Name | Value | Description |
| --- | --- | --- |
| Nearest | 0 | Resized samples inherit their value from the nearest original sample. |
| Linear | 1 | Resized samples inherit their value from the immediately adjacent samples. |
| Cubic | 2 | Cubic interpolation. |
| Hermite | 3 |  |
