Imagick::blackThresholdImage

(PECL imagick 2.0.0)

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.


Copyright © 2010-2024 Platon Technologies, s.r.o.           Home | Man pages | tLDP | Documents | Utilities | About
Design by styleshout