[url]www.texture[/url] and gif pics

I know it’s not possible out of the box, but I was wondering if someone knows some sort of workaround.

I am trying to load a picture from the web into a texture, it’s a gif, I am using the code from the docs:

var url = "http://www.kitco.com/images/live/nygold.gif";
function Start () {
// Start a download of the given URL
var www : WWW = new WWW (url);

// Wait for download to complete
yield www;

// assign texture

renderer.material.mainTexture = [url]www.texture;[/url]
}

They only give you access to gif files :frowning: any kind of idea very welcome.

The image must be png or jpg format, it’s unfortunate, but it’s the requirement.