[PD-cvs] SF.net SVN: pure-data: [9886] trunk/externals/pdvjtools/imagegrid/imagegrid .c
sergi_ll at users.sourceforge.net
sergi_ll at users.sourceforge.net
Sat May 24 02:20:06 CEST 2008
Revision: 9886
http://pure-data.svn.sourceforge.net/pure-data/?rev=9886&view=rev
Author: sergi_ll
Date: 2008-05-23 17:20:06 -0700 (Fri, 23 May 2008)
Log Message:
-----------
file formats to uppercase
Modified Paths:
--------------
trunk/externals/pdvjtools/imagegrid/imagegrid.c
Modified: trunk/externals/pdvjtools/imagegrid/imagegrid.c
===================================================================
--- trunk/externals/pdvjtools/imagegrid/imagegrid.c 2008-05-24 00:12:45 UTC (rev 9885)
+++ trunk/externals/pdvjtools/imagegrid/imagegrid.c 2008-05-24 00:20:06 UTC (rev 9886)
@@ -480,14 +480,23 @@
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);
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Pd-cvs
mailing list