lib/vips/kernel.rb in vips-8.7.0.1 vs lib/vips/kernel.rb in vips-8.8.0.1

- old
+ new

@@ -1,22 +1,22 @@ 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 - # ``` + # 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 + class Kernel < Symbol + end end