|
|||||||||
|
|||||||||
imagecolorallocate(PHP 4, PHP 5) imagecolorallocate — Allocate a color for an image Описание
int imagecolorallocate
( resource $image
, int $red
, int $green
, int $blue
)
Returns a color identifier representing the color composed of the given RGB components. imagecolorallocate() must be called to create each color that is to be used in the image represented by image .
Список параметров
Возвращаемые значенияA color identifier or FALSE if the allocation failed. Список изменений
Примеры
Пример #1 imagecolorallocate() example
<?php | |||||||||
|
|||||||||