diff --git a/Gtk4/image_types.h b/Gtk4/image_types.h new file mode 100644 index 0000000..87ed106 --- /dev/null +++ b/Gtk4/image_types.h @@ -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 +}