The Imagick class
PHP Manual

Imagick::contrastImage

(PECL imagick 2.0.0)

Imagick::contrastImageChange the contrast of the image

说明

bool Imagick::contrastImage ( bool $sharpen )
Warning

本函数还未编写文档,仅有参数列表。

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.

参数

sharpen

The sharpen value

返回值

Returns TRUE on success.

错误/异常

Throws ImagickException on error.


The Imagick class
PHP Manual