ImagickPixel
PHP 手册

ImagickPixel::getColor

(PECL imagick 2.0.0)

ImagickPixel::getColorReturns the color

说明

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

本函数还未编写文档,仅有参数列表。

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

返回值

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


ImagickPixel
PHP 手册