ImagickPixel::getColor()
ImagickPixel::getColor - Returns the color
Syntax
array ImagickPixel::getColor (
bool $normalized)
Arguments
- normalized - Normalize the color values
Description
Returns the color described by the ImagickPixel object, as an array. If the color has an opacity channel set, this is provided as a fourth value in the list.
Version
PHP PECL imagick 2.0.0
Return value
An array of channel values, each normalized if TRUE is given as param. Throws ImagickPixelException on error.