From 4e90a400e713977bc9749c88aed8b888f48c1a80 Mon Sep 17 00:00:00 2001 From: tth Date: Thu, 23 Jul 2020 19:08:17 +0200 Subject: [PATCH] added some file extensions --- funcs/utils.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/funcs/utils.c b/funcs/utils.c index e768f07..8ed71cb 100644 --- a/funcs/utils.c +++ b/funcs/utils.c @@ -58,8 +58,10 @@ fprintf(stderr, "[%s] --> [%s]\n", fname, cptr); if (!strcasecmp(cptr, ".pnm")) return FILE_TYPE_PNM; if (!strcasecmp(cptr, ".fimg")) return FILE_TYPE_FIMG; +if (!strcasecmp(cptr, ".tga")) return FILE_TYPE_TGA; if (!strcasecmp(cptr, ".png")) return FILE_TYPE_PNG; if (!strcasecmp(cptr, ".tiff")) return FILE_TYPE_TIFF; +if (!strcasecmp(cptr, ".fits")) return FILE_TYPE_FITS; return -1; }