32 "3fr",
"ari",
"arw",
"bay",
"bmq",
"cap",
"cine",
"cr2",
33 "crw",
"cs1",
"dc2",
"dcr",
"dng",
"gpr",
"erf",
"fff",
34 "ia",
"iiq",
"k25",
"kc2",
"kdc",
"mdc",
"mef",
"mos",
35 "mrw",
"nef",
"nrw",
"orf",
"ori",
"pef",
"pxn",
"qtk",
36 "raf",
"raw",
"rdc",
"rw2",
"rwl",
"sr2",
"srf",
"srw",
"x3f",
44 "jpg",
"jpeg",
"png",
"tif",
"tiff",
"pgm",
"pbm",
"ppm",
51#if defined(HAVE_GRAPHICSMAGICK) || defined(HAVE_IMAGEMAGICK)
54 "gif",
"bmp",
"dcm",
"jng",
"miff",
"mng",
"pnm",
"pam",
68 "heif",
"heic",
"hif",
77 "dng",
"tif",
"tiff",
"heif",
"heic",
"avif",
"hif",
NULL
static gboolean _ext_in_list(const char *ext, const char *const *list)
gboolean dt_image_ext_is_ambiguous(const char *ext)
const char *const * dt_image_ext_ldr_list(void)
gboolean dt_image_ext_is_supported(const char *ext)
gboolean dt_image_ext_is_ldr(const char *ext)
gboolean dt_image_ext_is_gui_raw(const char *ext)
static const char * _raw_extensions[]
gboolean dt_image_ext_is_gui_raster(const char *ext)
const char *const * dt_image_ext_raw_list(void)
const char *const * dt_image_ext_hdr_list(void)
static const char * _ambiguous_extensions[]
gboolean dt_image_ext_is_raw(const char *ext)
static const char * _hdr_extensions[]
static const char * _ldr_extensions[]
gboolean dt_image_ext_is_hdr(const char *ext)
static const char * _gui_dual_bucket_extensions[]
#define IS_NULL_PTR(p)
C is way too permissive with !=, == and if(var) checks, which can mean too many things depending on w...