文字

imagecolorstotal

(PHP 4, PHP 5, PHP 7)

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

说明

int imagecolorstotal ( resource $image )

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

参见 imagecolorat() imagecolorsforindex()

上一篇: 下一篇: