Method: Vips::Image#join

Defined in:
lib/vips8/methods.rb

#join(in2, direction, opts = {}) ⇒ Vips::Image

Join a pair of images.

Parameters:

  • in2 (Vips::Image)

    Second input image

  • direction (Vips::Direction)

    Join left-right or up-down

  • opts (Hash) (defaults to: {})

    Set of options

Options Hash (opts):

  • :align (Vips::Align)

    Align on the low, centre or high coordinate edge

  • :expand (Boolean)

    Expand output to hold all of both inputs

  • :shim (Integer)

    Pixels between images

  • :background (Array<Double>)

    Colour for new pixels

Returns:

[View source]

# File 'lib/vips8/methods.rb', line 335