Method: Vips::Image#|

Defined in:
lib/vips8/image.rb

#|(other) ⇒ Image

Integer bitwise OR with an image, constant or array.

Parameters:

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

    bitwise OR with this

Returns:

  • (Image)

    result of bitwise OR

[View source]

799
800
801
802
# File 'lib/vips8/image.rb', line 799

def |(other)
    other.is_a?(Vips::Image) ? 
        boolean(other, :or) : boolean_const(other, :or)
end