Sha256: 83d15f1b5cc1ddc613964e569008557890b20d11e4461363ec8c0bb1a554bd8e

Contents?: true

Size: 537 Bytes

Versions: 24

Compression:

Stored size: 537 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

24 entries across 23 versions & 4 rubygems

Version Path
ruby-vips-2.2.3 lib/vips/kernel.rb
trusty-cms-7.0.9.1 vendor/bundle/ruby/3.3.0/gems/ruby-vips-2.2.2/lib/vips/kernel.rb
trusty-cms-7.0.9.1 vendor/bundle/ruby/3.1.0/gems/ruby-vips-2.2.2/lib/vips/kernel.rb
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/ruby-vips-2.2.1/lib/vips/kernel.rb
ruby-vips-2.2.2 lib/vips/kernel.rb
ruby-vips-2.2.1 lib/vips/kernel.rb
vips-8.15.1 lib/vips/kernel.rb
ruby-vips-2.2.0 lib/vips/kernel.rb
vips-8.12.2 lib/vips/kernel.rb
vips-8.12.1 lib/vips/kernel.rb
ruby-vips-2.1.4 lib/vips/kernel.rb
vips-8.11.3 lib/vips/kernel.rb
ruby-vips-2.1.3 lib/vips/kernel.rb
ruby-vips-2.1.2 lib/vips/kernel.rb
ruby-vips-2.1.1 lib/vips/kernel.rb
ruby-vips-2.1.0 lib/vips/kernel.rb
vips-8.10.5 lib/vips/kernel.rb
vips-8.9.1 lib/vips/kernel.rb
ruby-vips-2.0.17 lib/vips/kernel.rb
vips-8.8.4 lib/vips/kernel.rb