|
|||||||||
|
|||||||||
imagecolorsforindex(PHP 4, PHP 5) 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. Примеры
Пример #1 imagecolorsforindex() example
<?phpРезультатом выполнения данного примера будет что-то подобное:
| |||||||||
|
|||||||||