Im looking to insert a base64 encoded image when creating a new AR.ImageResource in Wikitude SDK iOS.
I can do this directly in HTML img src attribute using javascript as follows
document.getElementById("imageFooterId").src = "data:image/png;base64," + jsonObject[id].picData;
But to render images in the aug view of Wikitude it is required to use the AR.ImageResource and it is a little more difficult to insert a base64 encode image.
I am using the following function call with no luck
tmpImage = new AR.ImageResource("data:image/png;base64," + jsonObject[i].picData, {onError: errorLoadingImage});
Are they any suggestions out there for performing this action?