PHP:imagecolorstotal()的用法_GD库图像处理函数

技术教程2个月前发布 北陌
327 00

PHP:imagecolorstotal()的用法_GD库图像处理函数

imagecolorstotal

(PHP 4, PHP 5)

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

说明

int imagecolorstotal
( resource $image
)

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

参见 imagecolorat() 和
imagecolorsforindex()。

© 版权声明

相关文章

暂无评论

none
暂无评论...