downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

ImagickPixel::isSimilar> <ImagickPixel::getColorValue
[edit] Last updated: Fri, 25 May 2012

view this page in

ImagickPixel::getHSL

(PECL imagick 2.0.0)

ImagickPixel::getHSLRetourne la couleur HSL normalisée de l'objet ImagickPixel

Description

array ImagickPixel::getHSL ( void )
Avertissement

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

Retourne la couleur HSL normalisée, décrite par l'objet ImagickPixel, dont chacune des trois valeurs sera un nombre décimal, compris entre 0.0 et 1.0.

Valeurs de retour

Retourne la valeur HSL dans un tableau contenant les clés "hue", "saturation" et "luminosity". Lance une exception ImagickPixelException si une erreur survient.

Notes

Note:

Disponible avec la version 6.2.9 et supérieure de la bibliothèque ImageMagick.



add a note add a note User Contributed Notes ImagickPixel::getHSL
rio at rio dot st 07-Aug-2009 12:25
This function needs ImageMagick > 6.2.8

In imagickpixel_class.c
#if MagickLibVersion > 0x628
/* {{{ proto array ImagickPixel::getHSL()
        Returns the normalized HSL color of the pixel wand in an array with the keys "hue", "saturation", and "luminosity".
*/

 
show source | credits | sitemap | contact | advertising | mirror sites