imagecolorexactalpha(PHP 4 >= 4.0.6, PHP 5) 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. ПримерыПример #1 Get colors from the GD logo
<?phpРезультатом выполнения данного примера будет что-то подобное:
Array
(
[0] => 16711680
[1] => 2130706432
[2] => 939524095
[3] => 342163252
)
Примечания
Смотрите также
|
||