gtk/tools/gtk-image-tool.h
Matthias Clasen a60cda3daa image-tool: Allow specifying cicp tuples
Accept --cicp=1/13/6/0 and similar to specify color states.
2024-07-27 18:42:39 -04:00

23 lines
846 B
C

#pragma once
void do_compare (int *argc, const char ***argv);
void do_convert (int *argc, const char ***argv);
void do_info (int *argc, const char ***argv);
void do_relabel (int *argc, const char ***argv);
void do_show (int *argc, const char ***argv);
GdkTexture * load_image_file (const char *filename);
gboolean find_format_by_name (const char *name,
GdkMemoryFormat *format);
char ** get_format_names (void);
GdkColorState * find_color_state_by_name (const char *name);
char ** get_color_state_names (void);
char * get_color_state_name (GdkColorState *color_state);
GdkColorState *parse_cicp_tuple (const char *cicp_tuple,
GError **error);