update : 2015.11.03
php.shukuma.com검색:
|
ImagickPixel::getColorValue(PECL imagick 2.0.0) ImagickPixel::getColorValue — Gets the normalized value of the provided color channel 설명
float ImagickPixel::getColorValue
( int
$color
)Retrieves the value of the color channel specified, as a floating-point number between 0 and 1. 인수
반환값The value of the channel, as a normalized floating-point number, throwing ImagickPixelException on error. 예제
Example #1 Basic Imagick::getColorValue() usage
<?php 위 예제의 출력: 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 |