JavaScript Editor Javascript debugger     Website design 

Imagick::contrastStretchImage

Enhances the contrast of a color image ()
bool Imagick::contrastStretchImage ( float black_point, float white_point [, 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.

Enhances the contrast of a color image by adjusting the pixels color to span the entire range of colors available

Parameters

black_point
white_point
channel

Return Values

Returns TRUE on success.