The ImagickPixel class
PHP Manual

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.


The ImagickPixel class
PHP Manual