Enlightenment CVS committal Author : raster Project : e17 Module : apps/e
Dir : e17/apps/e/src/bin Modified Files: e_thumb_main.c Log Message: encode thumb requested size into thumb filename (so if you ask for thumbs at different sizes u get different files). the SUGGESTION is to ALWAYS create things at a standard size (should make that a config item) unless you have very special needs. =================================================================== RCS file: /cvs/e/e17/apps/e/src/bin/e_thumb_main.c,v retrieving revision 1.4 retrieving revision 1.5 diff -u -3 -r1.4 -r1.5 --- e_thumb_main.c 8 Jul 2006 16:31:44 -0000 1.4 +++ e_thumb_main.c 10 Jul 2006 19:37:02 -0000 1.5 @@ -243,7 +243,8 @@ td[3] = 0; snprintf(dbuf, sizeof(dbuf), "%s/%s", _thumbdir, td); - snprintf(buf, sizeof(buf), "%s/%s/%s.thm", _thumbdir, td, id + 3); + snprintf(buf, sizeof(buf), "%s/%s/%s-%ix%i.thm", + _thumbdir, td, id + 3, eth->w, eth->h); free(id); free(td); ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs