Sha256: 1530f3d14ddc0873edd4ef50664ae30d13adb758c4ef21e33938be15165178bc

Contents?: true

Size: 593 Bytes

Versions: 4

Compression:

Stored size: 593 Bytes

Contents

module Vips

  # When the edges of an image are extended, you can specify
  # how you want the extension done.
  # See {Image#embed}, {Image#conv}, {Image#affine} and
  # so on.
  #
  # * `:black` new pixels are black, ie. all bits are zero.
  # * `:copy` each new pixel takes the value of the nearest edge pixel
  # * `:repeat` the image is tiled to fill the new area
  # * `:mirror` the image is reflected and tiled to reduce hash edges
  # * `:white` new pixels are white, ie. all bits are set
  # * `:background` colour set from the @background property

  class Extend < Symbol
  end
end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
ruby-vips-2.0.14 lib/vips/extend.rb
vips-8.8.0.3 lib/vips/extend.rb
vips-8.8.0.2 lib/vips/extend.rb
vips-8.8.0.1 lib/vips/extend.rb