Method: Vips::Image#*

Defined in:
lib/vips8/image.rb

#*(other) ⇒ Image

Multiply an image, constant or array.

Parameters:

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

    Thing to multiply by self

Returns:

  • (Image)

    result of multiplication

[View source]

746
747
748
# File 'lib/vips8/image.rb', line 746

def *(other)
    other.is_a?(Vips::Image) ? multiply(other) : linear(other, 0)
end