diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 6c4e4e4b1b23..cdf8388a45d4 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -556,7 +556,7 @@ if(USE_GRAPHICSMAGICK) find_package(GraphicsMagick) if(GraphicsMagick_FOUND) add_definitions(-DHAVE_GRAPHICSMAGICK) - set(DT_SUPPORTED_EXTENSIONS ${DT_SUPPORTED_EXTENSIONS} bmp dcm fit fits fts gif jng jp2 jpc jpf jpx miff mng pam webp jxl CACHE INTERNAL "") + set(DT_SUPPORTED_EXTENSIONS ${DT_SUPPORTED_EXTENSIONS} bmp cin dcm fit fits fts gif jng jp2 jpc jpf jpx miff mng pam webp jxl CACHE INTERNAL "") include_directories(SYSTEM ${GraphicsMagick_INCLUDE_DIRS}) list(APPEND LIBS ${GraphicsMagick_LIBRARIES}) list(APPEND SOURCES "imageio/imageio_gm.c") @@ -580,7 +580,7 @@ if(USE_IMAGEMAGICK AND NOT GraphicsMagick_FOUND) list(APPEND LIBS ${ImageMagick_LIBRARY}) unset(ImageMagick_LIBRARY CACHE) endforeach(lib) - set(DT_SUPPORTED_EXTENSIONS ${DT_SUPPORTED_EXTENSIONS} bmp dcm fit fits fts gif jng jp2 jpc jpf jpx miff mng pam webp jxl CACHE INTERNAL "") + set(DT_SUPPORTED_EXTENSIONS ${DT_SUPPORTED_EXTENSIONS} bmp cin dcm fit fits fts gif jng jp2 jpc jpf jpx miff mng pam webp jxl CACHE INTERNAL "") endif(ImageMagick_FOUND) endif(USE_IMAGEMAGICK AND NOT GraphicsMagick_FOUND) diff --git a/src/imageio/imageio_gm.c b/src/imageio/imageio_gm.c index 43fa8eec45d5..c07b2047f8dc 100644 --- a/src/imageio/imageio_gm.c +++ b/src/imageio/imageio_gm.c @@ -38,7 +38,7 @@ static gboolean _supported_image(const gchar *filename) const char *extensions_whitelist[] = { "tiff", "tif", "pbm", "pgm", "ppm", "pnm", "webp", "jpc", "jp2", "jpf", "jpx", "bmp", "miff", "dcm", "jng", "mng", "pam", "gif", - "fits", "fit", "fts", "jxl", NULL }; + "fits", "fit", "fts", "jxl", "cin", NULL }; gboolean supported = FALSE; char *ext = g_strrstr(filename, "."); if(!ext) return FALSE; diff --git a/src/imageio/imageio_im.c b/src/imageio/imageio_im.c index d06cb76e7262..4f19dd063634 100644 --- a/src/imageio/imageio_im.c +++ b/src/imageio/imageio_im.c @@ -45,7 +45,7 @@ static gboolean _supported_image(const gchar *filename) const char *extensions_whitelist[] = { "tiff", "tif", "pbm", "pgm", "ppm", "pnm", "webp", "jpc", "jp2", "jpf", "jpx", "bmp", "miff", "dcm", "jng", "mng", "pam", "gif", - "fits", "fit", "fts", "jxl", NULL }; + "fits", "fit", "fts", "jxl", "cin", NULL }; gboolean supported = FALSE; char *ext = g_strrstr(filename, "."); if(!ext) return FALSE;