get_palette


Description:

[ Version ( since = "3.0" ) ]
public unowned Palette get_palette ()

Returns the image's colormap

This procedure returns the image's colormap as a [class@Gimp.Palette]. If the image is not in Indexed color mode, null is returned.

Parameters:

this

The image.

Returns:

The image's colormap palette.