The Imagick class
PHP Manual

Imagick::thresholdImage

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

Imagick::thresholdImageChanges the value of individual pixels based on a threshold

Opis

bool Imagick::thresholdImage ( float $threshold [, int $channel ] )
Ostrzeżenie

Ta funkcja jest obecnie nieudokumentowana, dostępna jest jedynie lista jej argumentów.

Changes the value of individual pixels based on the intensity of each pixel compared to threshold. The result is a high-contrast, two color image.

Parametry

threshold

channel

Zwracane wartości

Zwraca TRUE w przypadku sukcesu.


The Imagick class
PHP Manual