Gimp.palette_get_info

@accepts(unicode, int)
@returns(bool)
def palette_get_info(name, num_colors):
    # Python wrapper for gimp_palette_get_info()
  

Retrieve information about the specified palette.

This procedure retrieves information about the specified palette. This includes the name, and the number of colors.

Since 2.2

name

The palette name.

num_colors

The number of colors in the palette.

Returns