PHP  
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | my php.net 
search for in the  
<imagecolorexactimagecolormatch>
Last updated: Mon, 16 Jul 2012

imagecolorexactalpha

(PHP 4 >= 4.0.6, PHP 5)

imagecolorexactalpha -- 取得指定的颜色 + alpha 的索引值

说明

int imagecolorexactalpha ( resource image, int red, int green, int blue, int alpha )

返回图像调色板中指定颜色 + alpha 的索引值。

如果颜色不在图像的调色板中,返回 -1。 returned.

参见 imagecolorclosestalpha()

注: 本函数添加于 PHP 4.0.6 并需要 GD 2.0.1 或以上版本。




<imagecolorexactimagecolormatch>
 Last updated: Mon, 16 Jul 2012
 
Copyright © 2001-2005 The PHP Group
All rights reserved.
This unofficial mirror is operated at: http://manual.phpv.net/
Last updated: Thu Jul 7 19:13:47 2005 CST