forked from tTh/FloatImg
added some file extensions
This commit is contained in:
parent
288c5a57df
commit
4e90a400e7
|
@ -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…
Reference in New Issue