Sha256: 6024b210711eae1241b11efdeb159891607e3a741cf8e9927081bd9428400899

Contents?: true

Size: 567 Bytes

Versions: 4

Compression:

Stored size: 567 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
    end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ruby-vips-1.0.6 lib/vips/kernel.rb
ruby-vips-1.0.5 lib/vips/kernel.rb
ruby-vips-1.0.4 lib/vips/kernel.rb
ruby-vips-1.0.3 lib/vips/kernel.rb