Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
PHP: imagelayereffect - Manual
[go: Go Back, main page]

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

search for in the

imageline" width="11" height="7"/> <imagejpeg
Last updated: Thu, 31 May 2007

view this page in

imagelayereffect

(PHP 4 >= 4.3.0, PHP 5)

imagelayereffect — アルファブレンディングフラグを設定し、libgd にバンドルされている レイヤ効果を使用する

説明

bool imagelayereffect ( resource $image, int $effect )
警告

この関数は、 現在のところ詳細な情報はありません。引数のリストのみが 記述されています。

パラメータ

image

imagecreatetruecolor() のような画像作成関数が返す画像リソース。

effect

返り値

成功した場合に TRUE を、失敗した場合に FALSE を返します。

注意

注意: この関数は、PHP がバンドル版の GD ライブラリで コンパイルされている場合のみ使用可能です。

注意: この関数は、GD 2.0.1 以降を必要とします (2.0.28 以降を推奨します)。



imageline" width="11" height="7"/> <imagejpeg
Last updated: Thu, 31 May 2007
 
add a note add a note User Contributed Notes
imagelayereffect
php dot net at quickzone dot cx
24-May-2005 08:21
I'm looking for a sample of this code in use.
06-Feb-2005 09: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 02: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.
25-Sep-2004 01:12
I need the sample for this function

imageline" width="11" height="7"/> <imagejpeg
Last updated: Thu, 31 May 2007
 
 
show source | credits | sitemap | contact | advertising | mirror sites