Gimp.Image.get_palette
@accepts(Gimp.Image)
@returns(Gimp.Palette)
def get_palette(self):
# Python wrapper for gimp_image_get_palette()
Returns the image's colormap
This procedure returns the image's colormap as a %GimpPalette. If the image is not in Indexed color mode, None is returned.
Since 3.0
- self
The image.
- Returns