PHP
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

imageline> <imagejpeg
Last updated: Sat, 24 Mar 2007

view this page in

imagelayereffect

(PHP 4 >= 4.3.0, PHP 5)

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

Popis

bool imagelayereffect ( resource $image, int $effect )
Varování

Tato funkce ještě není zdokumentována, k dispozici je pouze seznam argumentů.

Seznam parametrů

image

An image resource, returned by one of the image creation functions, such as imagecreatetruecolor().

effect

Návratové hodnoty

Vrací TRUE při úspěchu, FALSE při selhání.

Poznámky

Poznámka: Tato funce je k dispozici jen tehdy, bylo-li PHP zkompilováno s přibalenou verzí knihovny GD.

Poznámka: Tato funkce vyžaduje GD 2.0.1 nebo novější (doporučena verze 2.0.28 nebo novější).



imageline> <imagejpeg
Last updated: Sat, 24 Mar 2007
 
add a note add a note User Contributed Notes
imagelayereffect
php dot net at quickzone dot cx
23-May-2005 04:21
I'm looking for a sample of this code in use.
06-Feb-2005 04: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
30-Oct-2004 10: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 09:12
I need the sample for this function

imageline> <imagejpeg
Last updated: Sat, 24 Mar 2007
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites