bool Imagick::clutImage ( Imagick $lookup_table [, int $channel ] )
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 is compiled against ImageMagick 6.3.5-7 or newer.
Parameters
lookup_table
Imagick object containing the color lookup table
channel
The Channeltype constant. When not supplied, all channels are replaced.