Sha256: 674792216b7c3729316b608054f6c19d3edcf92b15f42e805e5ee47574d767a2

Contents?: true

Size: 622 Bytes

Versions: 18

Compression:

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

18 entries across 18 versions & 2 rubygems

Version Path
vips-8.6.3.2 lib/vips/extend.rb
vips-8.7.0.1 lib/vips/extend.rb
ruby-vips-2.0.13 lib/vips/extend.rb
vips-8.6.3.1 lib/vips/extend.rb
vips-8.6.3 lib/vips/extend.rb
ruby-vips-2.0.12 lib/vips/extend.rb
ruby-vips-2.0.11 lib/vips/extend.rb
ruby-vips-2.0.10 lib/vips/extend.rb
ruby-vips-2.0.9 lib/vips/extend.rb
ruby-vips-2.0.8 lib/vips/extend.rb
ruby-vips-2.0.7 lib/vips/extend.rb
ruby-vips-2.0.6 lib/vips/extend.rb
ruby-vips-2.0.5 lib/vips/extend.rb
ruby-vips-2.0.4 lib/vips/extend.rb
ruby-vips-2.0.3 lib/vips/extend.rb
ruby-vips-2.0.2 lib/vips/extend.rb
ruby-vips-2.0.1 lib/vips/extend.rb
ruby-vips-2.0.0 lib/vips/extend.rb