Description
bool
imagealphablending ( resource image, bool blendmode)
imagealphablending() allows for two different
modes of drawing on truecolor images_ In blending mode, the
alpha channel component of the color supplied to all drawing function,
such as imagesetpixel() determines how much of the
underlying color should be allowed to shine through_ As a result, gd
automatically blends the existing color at that point with the drawing color,
and stores the result in the image_ The resulting pixel is opaque_ In
non_blending mode, the drawing color is copied literally with its alpha channel
information, replacing the destination pixel_ Blending mode is not available
when drawing on palette images_
If blendmode is TRUE, then blending mode is enabled, otherwise
disabled_
Devuelve TRUE si todo se
llevó a cabo correctamente, FALSE en caso
de fallo_
Nota:
This function was added in PHP 4_0_6 and requires GD 2_0_1