Add image_types.h

This commit is contained in:
daleclack 2023-06-11 19:27:55 +08:00
parent d4c9a41d7f
commit aa77e1289c
1 changed files with 36 additions and 0 deletions

36
Gtk4/image_types.h Normal file
View File

@ -0,0 +1,36 @@
//This File is some extensions of image
//Note that this is the first edition,may needs improvement
static const char * const supported_globs[]={
"*.bmp",
"*.cod",
"*.gif",
"*.ief",
"*.jpe",
"*.jpeg",
"*.jpg",
"*.jfif",
"*.svg",
"*.png",
"*.tif",
"*.tiff",
"*.ras",
"*.cmx",
"*.ico",
"*.pnm",
"*.pbm",
"*.pgm",
"*.ppm",
"*.rgb",
"*.xbm",
"*.xpm",
"*.xwd",
NULL
};
static inline bool mime_type_supported(){
#ifdef G_OS_WIN32
return false;
#else
return true;
#endif
}