Here is a stack that compares simple grayLevel- and invert-filter for an image of size 1920x1080, needs LC 8 or 9. It shows the power of this "external" we have via LC Builder/the browser widget.
go stack url ("http://hh.on-rev.com/xstacks/speedComparison.livecode") or download the file http://hh.on-rev.com/xstacks/speedComparison.livecode.zip (1 MByte) The LC Script version is, TMHO, rather fast (feel free to improve it). The HTML5/js version could be optimized but that may be too hard for the result ... Thus the first HTML5/JS call is slower than the following (initiates caching). The average speed improvement depends on your hardware, this HTML5/JS version will be in average 20-60 times faster than LC Script. Note. The improvement is mostly due to the fact, that HTML5/JS uses your graphics hardware. With a decent graphic card the speed factor is here (for less simple filters) up to 100. _______________________________________________ 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