Results of 1 - 3 of about 3 for luminosity (0.001 sec.)
- ImagickPixel::setHSL — 正規化した HSL カラーを設定する | PHP 8.3 11645
- ImagickPixel::setHSL (PECL imagick 2, PECL imagick 3) ImagickPixel::setHSL — 正規化した HSL カラーを設定する 説明 public function ImagickPixel::setHSL ( float $hue , float $saturation , float $luminosity ): bool hue (色相)、saturation (彩度
... ) および luminosity (明度) を正規化した値によって ImagickPixel オブジェクトの色を設定します。 パラメータ hue 色相を正規化した値。これは、色相環 ... 上での位置 (0 から 1 まで) を表します。ゼロは赤です。 saturation 彩度を正規化した値。1 が最大です。 luminosity 明度を正規化した値。黒が 0、白が 1 で、 0.5 にすると完全な HS 値が再現されます。 戻り値 成功した場合に true を返します。 例 ... / ImagickPixel を新しい色に設定します $colorInfo = $color -> setHSL ( $newHue , $colorInfo [ 'saturation' ], $colorInfo [ 'luminosity' ]); // 新しい色が青/緑になることを確かめます $colorInfo = $color -> getcolor (); print_r ( $colorInfo ); ?> 上の例の出力は ...
-
https://man.mtool.work/php/8.3/imagickpixel.sethsl.html
- ImagickPixel::getHSL — ImagickPixel オブジェクトの HSL カラーを正規化したものを... 9152
- ImagickPixel::getHSL (PECL imagick 2, PECL imagick 3) ImagickPixel::getHSL — ImagickPixel オブジェクトの HSL カラーを正規化したものを返す 説明 public function ImagickPixel::getHSL (): array ImagickPixel オブジェクトの HSL カラーを正規化した
... 数点数値となります。 パラメータ この関数にはパラメータはありません。 戻り値 HSL の値をそれぞれ "hue"、 "saturation"、そして "luminosity" というキーに保持する配列を返します。 失敗した場合に ImagickPixelException をスローします。 例 例1 基本的な Imagick::getHS ... getHSL (); print_r ( $colorInfo ); ?> 上の例の出力は以下となります。 Array ( [hue] => 0 [saturation] => 0.80001220740379 [luminosity] => 0.50000762951095 ) 注意 注意 : ImageMagick ライブラリバージョン 6.2.9 以降で使用可能です。 他のマニュアルの関連ページ ...
-
https://man.mtool.work/php/8.3/imagickpixel.gethsl.html
- ImagickPixel クラス | PHP 8.3 7087
- ImagickPixel クラス (PECL imagick 2, PECL imagick 3) クラス概要 class ImagickPixel { public function clear (): bool public function __construct ( string $color = ? ) public function destroy (): bool public function getColor ( int $normalize
... lorValueQuantum ( int $color , int | float $value ): bool public function setHSL ( float $hue , float $saturation , float $luminosity ): bool public function setIndex ( int $index ): bool } 目次 ImagickPixel::clear — このオブジェクトに関連付けられたリソース ...
-
https://man.mtool.work/php/8.3/class.imagickpixel.html
PREV
1
NEXT