The ImagickPixel class
PHP Manual

ImagickPixel::getColor

(PECL imagick 2.0.0)

ImagickPixel::getColorReturns the color

Описание

array ImagickPixel::getColor ([ bool $normalized= false ] )
Предупреждение

Към момента тази функция не е документирана; наличен е единствено списъкът с аргументите й.

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.


The ImagickPixel class
PHP Manual