Sha256: c67ac53f888e7fd070194a257c80602c793737d8b87daf797768bfe8304572d6
Contents?: true
Size: 1.03 KB
Versions: 4
Compression:
Stored size: 1.03 KB
Contents
module Vips # An interpolator. One of these can be given to operations like # {Vips::affine} or {Vips::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: # # * `:nearest` Nearest-neighbour interpolation. # * `:bilinear` Bilinear interpolation. # * `:bicubic` Bicubic interpolation. # * `:lbb` Reduced halo bicubic interpolation. # * `:nohalo` Edge sharpening resampler with halo reduction. # * `:vsqbs` B-Splines with antialiasing smoothing. # # For example: # # ```ruby # im = im.affine :interpolate => Vips::Interpolate.new :bicubic # ``` class Interpolate # @!method self.new(name, opts = {}) # @param name [Symbol] interpolator to create # @param [Hash] opts Set of options # @return [Interpolate] constructed interpolator end end
Version data entries
4 entries across 4 versions & 2 rubygems
Version | Path |
---|---|
ruby-vips-1.0.2 | lib/vips/interpolate.rb |
ruby-vips-1.0.1 | lib/vips/interpolate.rb |
ruby-vips-1.0.0 | lib/vips/interpolate.rb |
ruby-vips8-0.1.0 | lib/vips8/interpolate.rb |