gtk/tools/gtk-image-tool.h
Matthias Clasen 28817b4bb2 image tool: Better color state support
Show cicp color states with their tuple.
2024-10-05 08:16:07 -04:00

25 lines
940 B
C

#pragma once
#include <gdk/gdk.h>
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);
char * get_color_state_cicp (GdkColorState *color_state);
GdkColorState *parse_cicp_tuple (const char *cicp_tuple,
GError **error);