Method: Vips::Image#merge

Defined in:
lib/vips8/methods.rb

#merge(sec, direction, dx, dy, opts = {}) ⇒ Vips::Image

Merge two images.

Parameters:

  • sec (Vips::Image)

    Secondary image

  • direction (Vips::Direction)

    Horizontal or vertcial merge

  • dx (Integer)

    Horizontal displacement from sec to ref

  • dy (Integer)

    Vertical displacement from sec to ref

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

    Set of options

Options Hash (opts):

  • :mblend (Integer)

    Maximum blend size

Returns:

[View source]

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