Gimp.palette_get_colors
@accepts(unicode, int)
@returns([Gimp.RGB])
def palette_get_colors(name, num_colors):
# Python wrapper for gimp_palette_get_colors()
Gets all colors from the specified palette.
This procedure retrieves all color entries of the specified palette.
Since 2.6
- name
The palette name.
- num_colors
Length of the colors array.
- Returns