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::getHSLImagickPixel オブジェクトの HSL カラーを正規化したものを返す

説明

array ImagickPixel::getHSL ( void )
警告

この関数は、 現在のところ詳細な情報はありません。引数のリストのみが 記述されています。

ImagickPixel オブジェクトの HSL カラーを正規化したものを返します。 3 つの値は、それぞれ 0.0 から 1.0 までの間の浮動小数点数値となります。

返り値

HSL の値をそれぞれ "hue"、 "saturation"、そして "luminosity" というキーに保持する配列を返します。 失敗した場合に ImagickPixelException をスローします。

注意

注意:

ImageMagick ライブラリバージョン 6.2.9 以降で使用可能です。



add a note add a note User Contributed Notes ImagickPixel::getHSL
rio at rio dot st 06-Aug-2009 10: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 | stats | sitemap | contact | advertising | mirror sites