Imagick Image Library
PHP Manual

ImagickPixel::getColor

(No version information available, might be only in CVS)

ImagickPixel::getColor — Returns the color

Description

array ImagickPixel::getColor ([ bool $normalized ] )
Warning

此函數目前沒有參考文件;只有引數列表。

Warning

這個函數是實驗性質的。這個函數的行為、名稱、和關於此函數的任何其他文件在未來PHP的發行中可能會在不通知的情況下改變。 使用此延伸需自行承擔風險。

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.


Imagick Image Library
PHP Manual