Added support for tif/bmp images

This commit is contained in:
Matt Hill
2015-05-13 07:04:10 -04:00
parent cb9d9fc46b
commit 3ac253b668

View File

@@ -219,6 +219,7 @@ int main( int argc, const char** argv )
} }
} }
else if (hasEndingInsensitive(filename, ".png") || hasEndingInsensitive(filename, ".jpg") || else if (hasEndingInsensitive(filename, ".png") || hasEndingInsensitive(filename, ".jpg") ||
hasEndingInsensitive(filename, ".tif") || hasEndingInsensitive(filename, ".bmp") ||
hasEndingInsensitive(filename, ".jpeg") || hasEndingInsensitive(filename, ".gif")) hasEndingInsensitive(filename, ".jpeg") || hasEndingInsensitive(filename, ".gif"))
{ {
if (fileExists(filename.c_str())) if (fileExists(filename.c_str()))