Method Image.Image()->apply_max()
- Method apply_max
apply_max(objectarray(array(int|array(int)))matrix)
apply_max(objectarray(array(int|array(int)))matrix,intr,intg,intb)
apply_max(objectarray(array(int|array(int)))matrix,intr,intg,intb,int|floatdiv)- Description
-
This is the same as apply_matrix, but it uses the maximum instead.
This function is not very fast.
- Parameter
array -
the matrix; innermost is a value or an array with red, green, blue values for red, green, blue separation.
- Parameter
r - Parameter
g - Parameter
b -
base level of result, default is zero
- Parameter
div -
division factor, default is 1.0.
- Returns
-
the new image object
- Note
-
experimental status; may not be exact the same output in later versions