#include <VInterpolate8.h>
Public Member Functions | |
VInterpolate (VipsInterpolate *interpolate, VSteal steal=STEAL) | |
VipsInterpolate * | get_interpolate () const |
![]() | |
VObject (VipsObject *new_vobject, VSteal steal=STEAL) | |
VObject (const VObject &a) | |
VObject & | operator= (const VObject &a) |
VipsObject * | get_object () const |
bool | is_null () const |
Static Public Member Functions | |
static VInterpolate | new_from_name (const char *name, VOption *options=nullptr) |
An interpolation. You can pass one of these to something like VImage::affine for it to use to interpolate pixels.
The available interpolators vary a bit with your libvips version and how it was built, but will include nearest
, bilinear
and bicubic
. Run vips -l interpolate` to see them all.
|
inlineexplicit |
Create a VInterpolate that wraps a VipsInterpolate object. If steal is STEAL, then this VInterpolate takes over ownership of the libvips object and will automatically unref it.
|
inline |
Get a pointer to the underlying VipsInterpolate object.
|
static |
Create a VInterpolate from a name, for example "bicubic"
.