Method

GimpPaletteget_color_count

since: 2.2

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

Type: gint

The number of colors in the palette.