Algosim documentation: ColorCount

ColorCount

Returns the number of distinct colours in a pixmap.

Syntax

Description

ColorCount(pm) returns the number of distinct colours in pm.

Examples

ExampleData("Sally")

Image 1

ColorCount(ans)
226950

See also