PHP » GoLang |
login |
register |
about
|
GoLang ImagickPixel::setHSL
request it (325)
GoLang replacement for PHP's ImagickPixel::setHSL
[edit | history]
ImagickPixel::setHSL(PECL imagick 2.0.0) ImagickPixel::setHSL — Sets the normalized HSL color Description
bool ImagickPixel::setHSL
( float
$hue
, float $saturation
, float $luminosity
)Sets the color described by the ImagickPixel object using normalized values for hue, saturation and luminosity. Parameters
Return Values
Returns Examples
Example #1 Use ImagickPixel::setHSL() to modify a color
<?php The above example will output: Array ( [r] => 26 [g] => 230 [b] => 230 [a] => 255 ) Notes
|
more
Recently updated
more
Most requested
more
Last requests
|