Forum und email

ImagickPixel::getColor

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

ImagickPixel::getColor — Returns the color

Description

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

Den här funktionen är ännu inte dokumenterad utan endast argumentlistan till funktioner finns tillgänglig.

Warning

Den här funktionen är EXPERIMENTELL. Dess beteende, namnet på den, och allt annat dokumenterat om den här funktionen kan ändras i framtida utgåvar av PHP. Använd den på egen risk.

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.