Class Interpolate
Make interpolators for operators like Affine(double[], GObject, int[], double?, double?, double?, double?, double[], bool?, Extend?).
Implements
Inherited Members
Namespace: NetVips
Assembly: NetVips.dll
Syntax
public class Interpolate : VipsObject, IDisposable
Methods
NewFromName(string)
Make a new interpolator by name.
Declaration
public static Interpolate NewFromName(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | libvips class nickname. |
Returns
| Type | Description |
|---|---|
| Interpolate | A new Interpolate. |
Remarks
Make a new interpolator from the libvips class nickname. For example:
var inter = Interpolate.NewFromName("bicubic");
You can get a list of all supported interpolators from the command-line with:
$ vips -l interpolate
See for example Affine(double[], GObject, int[], double?, double?, double?, double?, double[], bool?, Extend?).
Exceptions
| Type | Condition |
|---|---|
| VipsException | If unable to make a new interpolator from |