PYTHON ImagickPixel::getColor

(0)
Python replacement for PHP's ImagickPixel::getColor [ edit ]



Do you know a Python replacement for PHP's ImagickPixel::getColor ? Write it!

PHP ImagickPixel::getColor

PHP original manual for ImagickPixel::getColor [ show | php.net ]

ImagickPixel::getColor

(PECL imagick 2.0.0)

ImagickPixel::getColorReturns the color

Description

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

This function is currently not documented; only its argument list is available.

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.