PHP » GoLang |
login |
register |
about
|
GoLang ImagickPixel::getColorValue
request it (255)
GoLang replacement for PHP's ImagickPixel::getColorValue
[edit | history]
PHP ImagickPixel::getColorValuePHP original manual for ImagickPixel::getColorValue [ show | php.net ]ImagickPixel::getColorValue(PECL imagick 2.0.0) ImagickPixel::getColorValue — Gets the normalized value of the provided color channel Description
float ImagickPixel::getColorValue
( int
$color
)Retrieves the value of the color channel specified, as a floating-point number between 0 and 1. Parameters
Return ValuesThe value of the channel, as a normalized floating-point number, throwing ImagickPixelException on error. Examples
Example #1 Basic Imagick::getColorValue() usage
<?php The above example will output: Alpha value is 0.74999618524453 Red value is 0.90000762951095 Green value is 0.2 Blue value is 0.2 Cyan value is 0.90000762951095 Magenta value is 0.2 Yellow value is 0.2 Black value is 0 |
more
Recently updated
more
Most requested
more
Last requests
|