PHP » GoLang |
login |
register |
about
|
GoLang imagecolorallocate
request it (461)
GoLang replacement for PHP's imagecolorallocate
[edit | history]
imagecolorallocate(PHP 4, PHP 5, PHP 7) imagecolorallocate — Allocate a color for an image Description
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
Parameters
Return Values
A color identifier or Warning
This function may
return Boolean Changelog
Examples
Example #1 imagecolorallocate() example
<?php See Also
|
more
Recently updated
more
Most requested
more
Last requests
|