La classe Imagick
PHP Manual

Imagick::blackThresholdImage

(No version information available, might be only in CVS)

Imagick::blackThresholdImageForces all pixels below the threshold into black

Description

bool Imagick::blackThresholdImage ( mixed $threshold )
Avertissement

Cette fonction n'est pas documentée et seule la liste des arguments est disponible.

Is like Imagick::thresholdImage() but forces all pixels below the threshold into black while leaving all pixels above the threshold unchanged.

Liste de paramètres

threshold

The threshold below which everything turns black

Valeurs de retour

Returns TRUE on success.

Historique

Version Description
2.1.0 Now allows a string representing the color as a parameter. Previous versions allow only an ImagickPixel object.


La classe Imagick
PHP Manual