Sha256: 5816f424d9d277ccdf8c4dd1564d45ccf5fc67b18f2de4bf478a7b4205f4bca9
Contents?: true
Size: 538 Bytes
Versions: 4
Compression:
Stored size: 538 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
4 entries across 4 versions & 2 rubygems
Version | Path |
---|---|
ruby-vips-2.0.14 | lib/vips/kernel.rb |
vips-8.8.0.3 | lib/vips/kernel.rb |
vips-8.8.0.2 | lib/vips/kernel.rb |
vips-8.8.0.1 | lib/vips/kernel.rb |