The Imagick class
PHP Manual

Imagick::contrastImage

(PECL imagick 2.0.0)

Imagick::contrastImageChange the contrast of the image

Descrierea

bool Imagick::contrastImage ( bool $sharpen )
Avertizare

Această funcție nu este documentată în prezent; este disponibilă numai lista sa de argumente.

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.

Parametri

sharpen

The sharpen value

Valorile întoarse

Întoarce TRUE în caz de succes.

Erori/Excepții

Emite ImagickException în caz de eroare.


The Imagick class
PHP Manual