imagealphablending
(PHP 4 >= 4.0.6, PHP 5)
imagealphablending — Set the blending mode for an image
Description
bool imagealphablending
( resource $image
, bool $blendmode
)
Parameters
-
image
-
An image resource, returned by one of the image creation functions,
such as imagecreatetruecolor().
-
blendmode
-
Whether to enable the blending mode or not. Default to FALSE.
Return Values
Returns TRUE on success or FALSE on failure.
Notes
Note: This function requires GD 2.0.1 or later (2.0.28 or later is recommended).