The Imagick class
PHP Manual

Imagick::blackThresholdImage

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

Imagick::blackThresholdImageForces all pixels below the threshold into black

Описание

bool Imagick::blackThresholdImage ( mixed $threshold )
Внимание

К настоящему времени эта функция еще не была документирована; для ознакомления доступен только список аргументов.

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

Список параметров

threshold

The threshold below which everything turns black

Возвращаемые значения

Returns TRUE on success.

Список изменений

Версия Описание
2.1.0 Now allows a string representing the color as a parameter. Previous versions allow only an ImagickPixel object.


The Imagick class
PHP Manual