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