Defined
Match the color.
Grammar:
int imagecolorallocate (int im, int red, int green, int blue);
return value:
Integer
Function Type:
Graphics processing
PHP Matching color function content Description:
This function is used to match the color of the graphic for use by other drawing functions. The parameter IM represents the handle of the graph. Parameters red, green, blue are the primary colors of the color, with values from 0 to 255.
Example of using PHP to match color functions:
- < ?
- $ White imagecolorallocate
($im, 255,255,255);
- $ Black imagecolorallocate
($im, 0,0,0);
- ?>
http://www.bkjia.com/PHPjc/446058.html www.bkjia.com true http://www.bkjia.com/PHPjc/446058.html techarticle defines the matching color. Syntax: int imagecolorallocate (int im, int red, int green, int blue); Return value: Integer function type: Graphics processing PHP matching color function Description: This function ...