导航首页 »  技术教程 »  PHP:imagecolorstotal()的用法_GD库图像处理函数
PHP:imagecolorstotal()的用法_GD库图像处理函数 1032 2023-12-15   

imagecolorstotal

(PHP 4, PHP 5)

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

说明

int imagecolorstotal ( resource $image )

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

参见 imagecolorat() 和 imagecolorsforindex()。



文章评论 (0条)
发表评论
暂无评论,快来抢沙发吧~