JavaScript Editor Javascript debugger     Website design 

Imagick::contrastImage

Change the contrast of the image ()
bool Imagick::contrastImage ( bool sharpen )

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.

Enhances the intensity differences between the lighter and darker elements of the image. Set sharpen to a value other than 0 to increase the image contrast otherwise the contrast is reduced.

Parameters

sharpen

Return Values

Returns TRUE on success.