diff --git a/reference/image/functions/imagecolortransparent.xml b/reference/image/functions/imagecolortransparent.xml index c4807e49cf..f1c93ea65c 100644 --- a/reference/image/functions/imagecolortransparent.xml +++ b/reference/image/functions/imagecolortransparent.xml @@ -1,5 +1,5 @@ - + @@ -24,7 +24,7 @@ The transparent color is a property of the image, transparency is not a - property of the color. Once you have a set a color to be the transparent + property of the color. Once you have set a color to be the transparent color, any regions of the image in that color that were drawn previously will be transparent. @@ -33,6 +33,12 @@ The identifier of the new (or current, if none is specified) transparent color is returned. + + + Transparency is copied only with imagecopymerged and + true color images, not with imagecopy or pallete images. + + diff --git a/reference/image/functions/imagecopymerge.xml b/reference/image/functions/imagecopymerge.xml index 4218160d4f..c9bc650fc8 100644 --- a/reference/image/functions/imagecopymerge.xml +++ b/reference/image/functions/imagecopymerge.xml @@ -1,5 +1,5 @@ - + @@ -31,7 +31,8 @@ The two images will be merged according to pct which can range from 0 to 100. When pct = 0, no action is taken, when 100 this function behaves identically - to imagecopy. + to imagecopy for pallete images, while it + implements alpha transparency for true colour images. This function was added in PHP 4.0.6