PHP imagecolortransparent - The color is defined as a transparent color
imagecolortransparent - The color is defined as a transparent color.
grammar
int imagecolortransparent ( resource $image [, int $color ] )
imagecolortransparent () the image in the image transparent color set to color. image is imagecreatetruecolor () image identifier returned, color is imagecolorallocate () color identifier returned.
Note: The transparent color is a property of the image, not the transparency color attributes.Once you set the color to any area of a transparent color in the image for the color before painting it has become transparent.
Returns a new transparent color identifier, if omitted, it returns the current color transparent color identifier.
Note: Transparency only through imagecopymerge () and true color image copy can not be used imagecopy () or palette image.