Sha256: 257f944e18c98e05e54a1398f874b01fde7ca927f498192bddc252c589b864cd

Contents?: true

Size: 673 Bytes

Versions: 8

Compression:

Stored size: 673 Bytes

Contents

module Vips

    # When the edges of an image are extended, you can specify
    # how you want the extension done. 
    # See {Vips::Image.embed}, {Vips::Image.conv}, {Vips::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
    end
end

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
ruby-vips-1.0.6 lib/vips/extend.rb
ruby-vips-1.0.5 lib/vips/extend.rb
ruby-vips-1.0.4 lib/vips/extend.rb
ruby-vips-1.0.3 lib/vips/extend.rb
ruby-vips-1.0.2 lib/vips/extend.rb
ruby-vips-1.0.1 lib/vips/extend.rb
ruby-vips-1.0.0 lib/vips/extend.rb
ruby-vips8-0.1.0 lib/vips8/extend.rb