JavaScript Editor Javascript debugger     Website design 

Imagick::negateImage

Negates the colors in the reference image ()
bool Imagick::negateImage ( bool gray [, int channel] )

Warning:

This function is currently not documented; only the argument list is available.

Warning:

This function is EXPERIMENTAL. The behaviour of this function, the name of this function, and anything else documented about this function may change without notice in a future release of PHP. Use this function at your own risk.

Negates the colors in the reference image. The Grayscale option means that only grayscale values within the image are negated.

Parameters

gray
channel

Return Values

Returns TRUE on success.