Pike v8.0 release 1738

Method Image.Image()->`|()


Method `|

object res = Image.Image() | operand
object res = Image.Image() | color
object res = Image.Image() | value

Description

makes a new image out of the maximum pixels values

Parameter operand

the other image to compare with; the images must have the same size.

Parameter color

an array in format ({r,g,b}), this is equal to using an uniform-colored image.

Parameter value

equal to ({value,value,value}).

Returns

the new image object

See also

`-, `+, `&, `*, Image.Layer