Sha256: 6f72542bf503db4d43adb3828039f84c023e1c75176ad91dc2e009175b633f07

Contents?: true

Size: 576 Bytes

Versions: 18

Compression:

Stored size: 576 Bytes

Contents

module Vips

    # A resizing kernel. One of these can be given to operations like 
    # {Image#reduceh} or {Image#resize} to select the resizing kernel to use. 
    #
    # At least these should be available:
    #
    # *   `:nearest` Nearest-neighbour interpolation.
    # *   `:linear` Linear interpolation.
    # *   `:cubic` Cubic interpolation.
    # *   `:lanczos2` Two-lobe Lanczos
    # *   `:lanczos3` Three-lobe Lanczos
    #
    #  For example:
    #
    #  ```ruby
    #  im = im.resize 3, :kernel => :lanczos2
    #  ```

    class Kernel < Symbol
    end
end

Version data entries

18 entries across 18 versions & 2 rubygems

Version Path
vips-8.6.3.2 lib/vips/kernel.rb
vips-8.7.0.1 lib/vips/kernel.rb
ruby-vips-2.0.13 lib/vips/kernel.rb
vips-8.6.3.1 lib/vips/kernel.rb
vips-8.6.3 lib/vips/kernel.rb
ruby-vips-2.0.12 lib/vips/kernel.rb
ruby-vips-2.0.11 lib/vips/kernel.rb
ruby-vips-2.0.10 lib/vips/kernel.rb
ruby-vips-2.0.9 lib/vips/kernel.rb
ruby-vips-2.0.8 lib/vips/kernel.rb
ruby-vips-2.0.7 lib/vips/kernel.rb
ruby-vips-2.0.6 lib/vips/kernel.rb
ruby-vips-2.0.5 lib/vips/kernel.rb
ruby-vips-2.0.4 lib/vips/kernel.rb
ruby-vips-2.0.3 lib/vips/kernel.rb
ruby-vips-2.0.2 lib/vips/kernel.rb
ruby-vips-2.0.1 lib/vips/kernel.rb
ruby-vips-2.0.0 lib/vips/kernel.rb