added TIFF type

This commit is contained in:
tonton Th 2020-03-23 13:01:56 +01:00
parent 7372ffdbb6
commit c3cca26ce9

View File

@ -59,6 +59,7 @@ fprintf(stderr, "[%s] --> [%s]\n", fname, cptr);
if (!strcasecmp(cptr, ".pnm")) return FILE_TYPE_PNM; if (!strcasecmp(cptr, ".pnm")) return FILE_TYPE_PNM;
if (!strcasecmp(cptr, ".fimg")) return FILE_TYPE_FIMG; if (!strcasecmp(cptr, ".fimg")) return FILE_TYPE_FIMG;
if (!strcasecmp(cptr, ".png")) return FILE_TYPE_PNG; if (!strcasecmp(cptr, ".png")) return FILE_TYPE_PNG;
if (!strcasecmp(cptr, ".tiff")) return FILE_TYPE_TIFF;
return -1; return -1;
} }