added some file extensions

This commit is contained in:
Tonton Th 2020-07-23 19:08:17 +02:00
parent 288c5a57df
commit 4e90a400e7

View File

@ -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;
}