Dear Qooxdooxers, I need some help with placing a chart in qooxdoo:
I generate images on the server side (python + matplotlib) and get them via JSON-RPC, so that, on the client side, I have a variable with the a raw PNG string (starting with �PNG and followed by plenty of non-printable stuff). How can I turn it into a qx.ui.basic.Image (or anything else) and display it, for example, on a canvas? this.RpcRunning = rpc.callAsync( // RPC call, as you can find it in the examples function(result, ex, id) { // callback if (ex == null) { // RPC was successful alert(result); // result is a raw PNG string img = new qx.ui.basic.Image(result); // this does not work, of course [...] Thank you! Cheers, Alessandro -- View this message in context: http://www.nabble.com/PNG-images-via-RPC-tp22238162p22238162.html Sent from the qooxdoo-devel mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ qooxdoo-devel mailing list qooxdoo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel