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

imagecolorstotal

(PHP 3, PHP 4, PHP 5)

imagecolorstotal -- 取得一幅图像的调色板中颜色的数目

说明

int imagecolorstotal ( resource image )

本函数返回指定图像的调色板中的颜色数目。

参见 imagecolorat()imagecolorsforindex()




<imagecolorsforindeximagecolortransparent>
 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