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

Description

bool Imagick::blackThresholdImage ( mixed $threshold )
Warning

This function is currently not documented; only its argument list is available.

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

Parameters

threshold

The threshold below which everything turns black

Return Values

Returns TRUE on success.

ChangeLog

Version Description
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