Function __global->imagecolorallocate
Definitions
sources_custom/phpstub.php
- Allocate a color for an image.
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: N/A
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$image | resource | required parameter | N/A | N/A | The image handle |
$red | integer | required parameter | N/A | N/A | Red component (0-255) |
$green | integer | required parameter | N/A | N/A | Green component (0-255) |
$blue | integer | required parameter | N/A | N/A | Blue component (0-255) |
Return
- Combined colour identifier (false: could not allocate)
- Type: ~integer
- Set: N/A
- Range: N/A