Jonathan, nice idea and clever work, congratulations.
Two remarks: (1) Actually the svg-to-png conversion method toDataUrl() yields at most a 96 dpi image. So, if you scale the svg once to an image of twice the maximum size you will need, then set the resizequality of that image to "best" and scale it down _with LC_ to the size you actually need, you may have better results on some devices. (2) You speak in your help of a "peculiar bug". It is not a bug. It is a first look at the js "callback hell": The call of "liveCode.JStoLC(myImage,tID);" in your html comes too early. The second call then shows the result of meanwhile finished first call. Hermann _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode