PHP imagecolorstotal - 取得一幅圖像的調色板中顏色的數目
imagecolorstotal — 取得一幅圖像的調色板中顏色的數目。
語法
int imagecolorstotal ( resource $image )
本函數返回指定圖像的調色板中的顏色數目。
相關文章
- imagecolorat() 取得某像素的顏色索引值。
- imagecolorsforindex() 取得某索引的顏色。
imagecolorstotal — 取得一幅圖像的調色板中顏色的數目。
int imagecolorstotal ( resource $image )
本函數返回指定圖像的調色板中的顏色數目。