Home > PHP > Function > > Imagick::blackThresholdImage()

Imagick::blackThresholdImage()

Imagick::blackThresholdImage - Forces all pixels below the threshold into black

Syntax

bool Imagick::blackThresholdImage (mixed $threshold)

Arguments

  • threshold - The threshold below which everything turns black

Description

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

Version

PHP PECL imagick 2.0.0

Return value

Returns TRUE on success.