Method: Vips::Image#bandjoin

Defined in:
lib/vips8/image.rb

#bandjoin(other) ⇒ Image

Join a set of images bandwise.

Parameters:

  • other (Image, Array<Image>, Real, Array<Real>)

    bands to append

Returns:

  • (Image)

    many band image

[View source]

983
984
985
986
987
988
989
# File 'lib/vips8/image.rb', line 983

def bandjoin(other)
    if not other.is_a? Array
        other = [other]
    end

    Vips::Image.bandjoin([self] + other)
end