class Vips::Interpolate

Overview

Make interpolators for operators like Image#affine

Defined in:

vips/interpolate.cr

Class Method Summary

Instance methods inherited from class Vips::VipsObject

get(name : String) get, get_blurb(name : String) get_blurb, get_description get_description, get_pspec(name : String) : LibVips::GParamSpec | Nil get_pspec, get_typeof(name : String) get_typeof, post_close(&block : -> ) post_close, print_all print_all, set(gtype, name, value)
set(options : String)
set

Instance methods inherited from class Vips::GObject

finalize finalize, get(name : String, gval : GValue) get, object_ref object_ref, ref_count ref_count, release_handle release_handle, set(name : String, gval : GValue) set, signal_connect(signal : String, callback : Proc, data : Pointer(Void) = Pointer(Void).null) : LibVips::Gulong signal_connect, signal_disconnect(handler_id : LibVips::Gulong)
signal_disconnect(func : Proc, data : Pointer(Void) = Pointer(Void).null)
signal_disconnect(data : LibVips::Gpointer)
signal_disconnect

Class Method Detail

def self.new_from_name(name : String) #

Make a new interpolator by name. Make a new interpolator from the libvips class nickname. For example:

inter = Vips::Interpolate.new_from_name("bicubic")

You can get a list of all supported interpolators from the command-line with

vips -l interpolate

See for example Image#affine


[View source]