Imagick Image Library
PHP Manual

ImagickPixel::getColor

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

ImagickPixel::getColor — Returns the color

說明

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.

參數

normalized

Normalize the color values

Return值

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


Imagick Image Library
PHP Manual