update : 2015.11.03
php.shukuma.com검색:
|
imagecolorsforindex(PHP 4, PHP 5, PHP 7) imagecolorsforindex — Get the colors for an index 설명
array imagecolorsforindex
( resource
$image
, int $index
)Gets the color for a specified index. 반환값Returns an associative array with red, green, blue and alpha keys that contain the appropriate values for the specified color index. 예제
Example #1 imagecolorsforindex() example
<?php 위 예제의 출력 예시: Array ( [red] => 226 [green] => 222 [blue] => 252 [alpha] => 0 ) 참고
|