Method

GimpPaletteget_color_count

Declaration [src]

gint
gimp_palette_get_color_count (
  GimpPalette* palette
)

Description [src]

Get the count of colors in the palette.

Returns the number of colors in the palette.

Available since:2.2

Return value

Returns: gint
 

The number of colors in the palette.