ColorCount
Returns the number of distinct colours in a pixmap.
Syntax
-
ColorCount(pm)
-
pm
is a pixmap
-
Description
ColorCount(pm)
returns the number of distinct colours in pm
.
Examples
ExampleData("Sally")
ColorCount(ans)
226950