# HG changeset patch
# User wycc
# Date 1290470649 -28800
# Node ID 18329b6f77a416199dd337af71117b682d856a8f
# Parent 8c2862e40c289dfd9a11af418fff47c09a9b8ce2
Generate the PNG fropm the JPG file. We need to add the JPG/GIF graphics format
diff -r 8c2862e40c28 -r 18329b6f77a4 nodejs/examples/mce/background2.jpg
Binary file nodejs/examples/mce/background2.jpg has changed
diff -r 8c2862e40c28 -r 18329b6f77a4 nodejs/examples/mce/epg.js
--- a/nodejs/examples/mce/epg.js Mon Nov 22 22:58:37 2010 +0800
+++ b/nodejs/examples/mce/epg.js Tue Nov 23 08:04:09 2010 +0800
@@ -122,7 +122,8 @@
if (ext != "png") {
fields.push("png");
newf = fields.join(".");
- os.spawn("convert",[file,newf]);
+ sys.puts("cachepath="+cachepath+" newf="+newf);
+ os.spawn("convert",[cachepath,newf]);
} else {
newf = cachepath;
}
diff -r 8c2862e40c28 -r 18329b6f77a4 nodejs/examples/mce/main.svg
--- a/nodejs/examples/mce/main.svg Mon Nov 22 22:58:37 2010 +0800
+++ b/nodejs/examples/mce/main.svg Tue Nov 23 08:04:09 2010 +0800
@@ -149,8 +149,8 @@
id="image3058"
x="117.64285"
y="302.88058"
- xlink:href="/home/wycc/devel/md6/MadButterfly/nodejs/examples/mce/./cat0.png"
- sodipodi:absref="/home/wycc/devel/md6/MadButterfly/nodejs/examples/mce/./cat0.png" />
+ xlink:href="./cat0.png"
+ sodipodi:absref="./cat0.png" />
+ xlink:href="./cat1.png"
+ sodipodi:absref="./cat1.png" />
+ xlink:href="./cat2.png"
+ sodipodi:absref="./cat2.png" />
+ xlink:href="./cat3.png"
+ sodipodi:absref="./cat3.png" />
+ xlink:href="./cat4.png"
+ sodipodi:absref="./cat4.png" />
+ xlink:href="./cat5.png"
+ sodipodi:absref="./cat5.png" />
+ xlink:href="./cat6.png"
+ sodipodi:absref="./cat6.png" />