Gimp.Palette.get_color_count

@accepts(Gimp.Palette)
@returns(int)
def get_color_count(self):
    # Python wrapper for gimp_palette_get_color_count()
  

Get the count of colors in the palette.

Returns the number of colors in the palette.

Since 2.2

self

The palette.

Returns