aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorN.N. <sergi_ll@users.sourceforge.net>2008-05-24 00:20:06 +0000
committerN.N. <sergi_ll@users.sourceforge.net>2008-05-24 00:20:06 +0000
commit403760eaaf879f6030d0665b1f4aa5c95b3deef0 (patch)
tree875871f3d2b839a32c0bfc3e1f7df4d1164cac68
parent3b0b2dc52b32b4d573b726c614511334a3bb5a93 (diff)
file formats to uppercase
svn path=/trunk/externals/pdvjtools/; revision=9886
-rw-r--r--imagegrid/imagegrid.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/imagegrid/imagegrid.c b/imagegrid/imagegrid.c
index ccd3dc4..0d7c779 100644
--- a/imagegrid/imagegrid.c
+++ b/imagegrid/imagegrid.c
@@ -480,14 +480,23 @@ int format_adequat(path nomF){
t1 = strtok(NULL,".") )
strcpy(extensio,t1);
if(strcmp(extensio,"bmp")==0) retorn = 1;
+ if(strcmp(extensio,"BMP")==0) retorn = 1;
if(strcmp(extensio,"eps")==0) retorn = 1;
+ if(strcmp(extensio,"EPS")==0) retorn = 1;
if(strcmp(extensio,"gif")==0) retorn = 1;
+ if(strcmp(extensio,"GIF")==0) retorn = 1;
if(strcmp(extensio,"jpg")==0) retorn = 1;
+ if(strcmp(extensio,"JPG")==0) retorn = 1;
if(strcmp(extensio,"jpeg")==0) retorn = 1;
+ if(strcmp(extensio,"JPEG")==0) retorn = 1;
if(strcmp(extensio,"png")==0) retorn = 1;
+ if(strcmp(extensio,"PNG")==0) retorn = 1;
if(strcmp(extensio,"ppm")==0) retorn = 1;
+ if(strcmp(extensio,"PPM")==0) retorn = 1;
if(strcmp(extensio,"tif")==0) retorn = 1;
+ if(strcmp(extensio,"TIF")==0) retorn = 1;
if(strcmp(extensio,"tiff")==0) retorn = 1;
+ if(strcmp(extensio,"TIFF")==0) retorn = 1;
return (retorn);
}