(PHP 3, PHP 4, PHP 5)
A megadott kép színeinek számát adja vissza.
Lásd még a imagecolorat() és a imagecolorsforindex() függvényeket.