class Vips::Interpolate

An interpolator. One of these can be given to operations like {Image#affine} or {Image#mapim} to select the type of pixel interpolation to use.

To see all interpolators supported by your libvips, try

“‘ $ vips -l interpolate “`

But at least these should be available:

For example:

```ruby
im = im.affine [2, 0, 0, 2],
    :interpolate => Vips::Interpolate.new(:bicubic)
```

Public Class Methods

new(name) click to toggle source
Calls superclass method GObject::GObject::new
# File lib/vips/interpolate.rb, line 50
def initialize name
  ptr = Vips::vips_interpolate_new name
  raise Vips::Error if ptr == nil

  super ptr
end