search for in the  
<imagejpegimageline>
Last updated: Thu, 19 May 2005

imagelayereffect

(PHP 4 >= 4.3.0, PHP 5)

imagelayereffect --  Set the alpha blending flag to use the bundled libgd layering effects

Description

bool imagelayereffect ( resource image, int effect )

Warning

This function is currently not documented; only the argument list is available.

Note: This function is only available if PHP is compiled with the bundled version of the GD library.

Note: This function requires GD 2.0.1 or later.



User Contributed Notes
imagelayereffect
06-Feb-2005 06:36
I assume, that the specific effects are similiar to those used in Adobe Photoshop for blending layers.
There might be things like IMG_EFFECT_MULTIPLY resulting of that.
ttoohey at php dot net
31-Oct-2004 12:33
This function is similar to the existing ImageAlphaBlending() function in that it affects the way pixel drawing will be done during any kind of drawing function. It extends the functionality by allowing you to use one of the effect modes (listed below).

"effect" takes one of the values:

IMG_EFFECT_REPLACE
Use pixel replacement (equivalent of ImageAlphaBlending(FALSE))

IMG_EFFECT_NORMAL
Use normal pixel blending (equivalent of ImageAlphaBlending(TRUE))

IMG_EFFECT_OVERLAY
   Use the overlay routine. 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.
24-Sep-2004 11:12
I need the sample for this function

<imagejpegimageline>
 Last updated: Thu, 19 May 2005
Copyright © 2001-2005 The PHP Group
All rights reserved.
This unofficial mirror is operated at: The Server Pages
Last updated: Thu May 19 17:35:34 2005 CDT