GimpImage-colormap

GimpImage-colormap

Synopsis

#define             GIMP_IMAGE_COLORMAP_SIZE
void                gimp_image_colormap_init            (GimpImage *image);
void                gimp_image_colormap_dispose         (GimpImage *image);
void                gimp_image_colormap_free            (GimpImage *image);
GimpPalette *       gimp_image_get_colormap_palette     (GimpImage *image);
const guchar *      gimp_image_get_colormap             (const GimpImage *image);
gint                gimp_image_get_colormap_size        (const GimpImage *image);
void                gimp_image_set_colormap             (GimpImage *image,
                                                         const guchar *colormap,
                                                         gint n_colors,
                                                         gboolean push_undo);
void                gimp_image_get_colormap_entry       (GimpImage *image,
                                                         gint color_index,
                                                         GimpRGB *color);
void                gimp_image_set_colormap_entry       (GimpImage *image,
                                                         gint color_index,
                                                         const GimpRGB *color,
                                                         gboolean push_undo);
void                gimp_image_add_colormap_entry       (GimpImage *image,
                                                         const GimpRGB *color);

Description

Details

GIMP_IMAGE_COLORMAP_SIZE

#define GIMP_IMAGE_COLORMAP_SIZE 768


gimp_image_colormap_init ()

void                gimp_image_colormap_init            (GimpImage *image);


gimp_image_colormap_dispose ()

void                gimp_image_colormap_dispose         (GimpImage *image);


gimp_image_colormap_free ()

void                gimp_image_colormap_free            (GimpImage *image);


gimp_image_get_colormap_palette ()

GimpPalette *       gimp_image_get_colormap_palette     (GimpImage *image);


gimp_image_get_colormap ()

const guchar *      gimp_image_get_colormap             (const GimpImage *image);


gimp_image_get_colormap_size ()

gint                gimp_image_get_colormap_size        (const GimpImage *image);


gimp_image_set_colormap ()

void                gimp_image_set_colormap             (GimpImage *image,
                                                         const guchar *colormap,
                                                         gint n_colors,
                                                         gboolean push_undo);


gimp_image_get_colormap_entry ()

void                gimp_image_get_colormap_entry       (GimpImage *image,
                                                         gint color_index,
                                                         GimpRGB *color);


gimp_image_set_colormap_entry ()

void                gimp_image_set_colormap_entry       (GimpImage *image,
                                                         gint color_index,
                                                         const GimpRGB *color,
                                                         gboolean push_undo);


gimp_image_add_colormap_entry ()

void                gimp_image_add_colormap_entry       (GimpImage *image,
                                                         const GimpRGB *color);