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

Cette fonction n'est pas documentée et seule la liste des arguments est disponible.

Warning

Cette fonction est EXPERIMENTALE. Cela signifie que le comportement de cette fonction, son nom et, concrètement, TOUT ce qui est documenté ici peut changer dans un futur proche, SANS PREAVIS ! Soyez-en conscient, et utilisez cette fonction à vos risques et périls.

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.

Liste de paramètres

normalized

Normalize the color values

Valeurs de retour

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