|
update : 2015.11.03
php.shukuma.com검색:
|
imagecolorexactalpha(PHP 4 >= 4.0.6, PHP 5, PHP 7) imagecolorexactalpha — Get the index of the specified color + alpha 설명
int imagecolorexactalpha
( resource
$image
, int $red
, int $green
, int $blue
, int $alpha
)Returns the index of the specified color+alpha in the palette of the image. 인수
반환값Returns the index of the specified color+alpha in the palette of the image, or -1 if the color does not exist in the image's palette. 예제Example #1 Get colors from the GD logo
<?php위 예제의 출력 예시:
Array
(
[0] => 16711680
[1] => 2130706432
[2] => 939524095
[3] => 342163252
)
주의
|