7 * This software is released under the GNU General Public License (GNU GPL).
8 * Please read the included file COPYING for more information.
9 * This software comes with no warranty of any kind, use at your own risk!
17 COLOR_PROFILE_NONE = 0,
21 } ColorManProfileType;
24 COLOR_RETURN_SUCCESS = 0,
26 COLOR_RETURN_IMAGE_CHANGED
29 typedef struct _ColorMan ColorMan;
30 typedef void (* ColorManDoneFunc)(ColorMan *cm, ColorManReturnType success, gpointer data);
36 gint incremental_sync;
43 ColorManDoneFunc func_done;
44 gpointer func_done_data;
48 ColorMan *color_man_new(ImageWindow *imd, GdkPixbuf *pixbuf,
49 ColorManProfileType input_type, const gchar *input_file,
50 ColorManProfileType screen_type, const gchar *screen_file,
51 ColorManDoneFunc done_func, gpointer done_data);
52 ColorMan *color_man_new_embedded(ImageWindow *imd, GdkPixbuf *pixbuf,
53 unsigned char *input_data, guint input_data_len,
54 ColorManProfileType screen_type, const gchar *screen_file,
55 ColorManDoneFunc done_func, gpointer done_data);
56 void color_man_free(ColorMan *cm);
58 void color_man_update(void);