JavaScript Editor Javascript debugger     Website design 


ImagickPixel::getColor

Returns the color ()
array ImagickPixel::getColor ( [bool normalized] )

Warning:

This function is currently not documented; only the argument list is available.

Warning:

This function is EXPERIMENTAL. The behaviour of this function, the name of this function, and anything else documented about this function may change without notice in a future release of PHP. Use this function at your own risk.

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.

Parameters

normalized

Normalize the color values

Return Values

An array of channel values, each normalized if true is given as param. Throws ImagickPixelException on error.