From 4a6f7e12d89f6b228d1fdcde9bbcfd12be9c2775 Mon Sep 17 00:00:00 2001 From: Hannes Magnusson Date: Sat, 13 Oct 2007 17:52:19 +0000 Subject: [PATCH] Intergrade 3years old user note by ttoohey at php dot net git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@244152 c90b9560-bf6c-de11-be94-00142212c4b1 --- .../image/functions/imagelayereffect.xml | 45 ++++++++++++++++++- 1 file changed, 43 insertions(+), 2 deletions(-) diff --git a/reference/image/functions/imagelayereffect.xml b/reference/image/functions/imagelayereffect.xml index bb1132737c..b18c4a04f8 100755 --- a/reference/image/functions/imagelayereffect.xml +++ b/reference/image/functions/imagelayereffect.xml @@ -1,5 +1,5 @@ - + imagelayereffect @@ -12,7 +12,9 @@ resourceimage inteffect - &warn.undocumented.func; + + Set the alpha blending flag to use the bundled libgd layering effects. + &reftitle.parameters; @@ -23,6 +25,45 @@ effect + One of the following constants: + + + IMG_EFFECT_REPLACE + + + Use pixel replacement (equivalent of passing &true; to + imagealphablending) + + + + + IMG_EFFECT_ALPHABLEND + + + Use normal pixel blending (equivalent of passing &false; to + imagealphablending) + + + + + IMG_EFFECT_NORMAL + + + Same as IMG_EFFECT_ALPHABLEND. + + + + + IMG_EFFECT_OVERLAY + + + Overlay has the effect that black background pixels will remain + black, white background pixels will remain white, but grey + background pixels will take the colour of the foreground pixel. + + + +