added some file extensions

master
tth 2 years ago
parent 288c5a57df
commit 4e90a400e7
  1. 2
      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;
}

Loading…
Cancel
Save