Sprite image from Base64

So i need to send some images to my game over websocket. So is it possible to create sprite from something like a base64 string in JSB.
For cocos2d-html5 i can use.
cc.Sprite.create(“data:image/png;base64,iVBORw0KGgoAAAANSU…”);

If not can get create a sprite directly from an url.

Thank you!

Hi,
This interface in JSB hasn’t be implemented yet.
But I think it should be supported. :slight_smile:
Issue http://www.cocos2d-x.org/issues/2314 was created. Thanks for your feedback.