Home :: International :: Manuals :: Howto :: FAQ :: Man Pages :: Email Login

 
 

 

imagecolortransparent

(PHP 3, PHP 4 , PHP 5)

imagecolortransparent -- 透明色の定義

説明

int imagecolortransparent ( resource image [, int color])

imagecolortransparent()は、イメージ image上の透明色をcolorに 設定します。imageimagecreate()によって返されたイメージIDで、 colorimagecolorallocate()によって返された色IDです。

注意: 透明色は画像のプロパティであり、色のプロパティではありません。 ある色を透明色と定義したら、画像上で既にその色で着色されてる領域も 透明になります。

新しい(指定されない場合は現在の)透明色のIDが返されます。

 
 
 
 
Google
  Web Linuxinfor   
 

Home :: Copyright :: Privacy :: Credits :: Get a free Linuxinfor Email Account

Document on this page is part of "PHP マニュアル". See Index Page for more info about Authorship and Copyright.

1999-2009 Linuxinfor.com. No rights reserved.