Imagick::clutImage()
Imagick::clutImage - Replaces colors in the image
Syntax
bool Imagick::clutImage (
Imagick $lookup_table,
float $channel)
Arguments
- lookup_table - Imagick object containing the color lookup table
- channel - The Channeltypeconstant. When not supplied, default channels are replaced.
Description
Replaces colors in the image from a color lookup table. Optional second parameter to replace colors in a specific channel. This method is available if Imagick has been compiled against ImageMagick version 6.3.6 or newer.
Version
PHP PECL imagick 2.0.0
Return value
Returns TRUE on success.