GimpPalette-import

GimpPalette-import

Synopsis

GimpPalette *       gimp_palette_import_from_file       (GimpContext *context,
                                                         const gchar *filename,
                                                         const gchar *palette_name,
                                                         GError **error);
GimpPalette *       gimp_palette_import_from_gradient   (GimpGradient *gradient,
                                                         GimpContext *context,
                                                         gboolean reverse,
                                                         const gchar *palette_name,
                                                         gint n_colors);
GimpPalette *       gimp_palette_import_from_image      (GimpImage *image,
                                                         GimpContext *context,
                                                         const gchar *palette_name,
                                                         gint n_colors,
                                                         gint treshold,
                                                         gboolean selection_only);
GimpPalette *       gimp_palette_import_from_indexed_image
                                                        (GimpImage *image,
                                                         GimpContext *context,
                                                         const gchar *palette_name);
GimpPalette *       gimp_palette_import_from_drawable   (GimpDrawable *drawable,
                                                         GimpContext *context,
                                                         const gchar *palette_name,
                                                         gint n_colors,
                                                         gint threshold,
                                                         gboolean selection_only);

Description

Details

gimp_palette_import_from_file ()

GimpPalette *       gimp_palette_import_from_file       (GimpContext *context,
                                                         const gchar *filename,
                                                         const gchar *palette_name,
                                                         GError **error);


gimp_palette_import_from_gradient ()

GimpPalette *       gimp_palette_import_from_gradient   (GimpGradient *gradient,
                                                         GimpContext *context,
                                                         gboolean reverse,
                                                         const gchar *palette_name,
                                                         gint n_colors);


gimp_palette_import_from_image ()

GimpPalette *       gimp_palette_import_from_image      (GimpImage *image,
                                                         GimpContext *context,
                                                         const gchar *palette_name,
                                                         gint n_colors,
                                                         gint treshold,
                                                         gboolean selection_only);


gimp_palette_import_from_indexed_image ()

GimpPalette *       gimp_palette_import_from_indexed_image
                                                        (GimpImage *image,
                                                         GimpContext *context,
                                                         const gchar *palette_name);


gimp_palette_import_from_drawable ()

GimpPalette *       gimp_palette_import_from_drawable   (GimpDrawable *drawable,
                                                         GimpContext *context,
                                                         const gchar *palette_name,
                                                         gint n_colors,
                                                         gint threshold,
                                                         gboolean selection_only);