[please, do not send an email on a new topic by replying on an existing
email; it screws up the normal flow of the emails. thanks.]

On Thu, 2011-01-20 at 16:17 +0100, Roland Peffer wrote:

> I need a hint how I can easily load an image from an uri or at least from an 
> http adress into a clutter texture.
> 
> Anyone did that yet?

you can use gdk-pixbuf and gio; just create a GFile from the URI, open
the InputStream from it and then use the stream-based API in gdk-pixbuf.

you can then load the GdkPixbuf object into any ClutterTexture by using
clutter_texture_set_from_rgb_data().

ciao,
 Emmanuele.

-- 
Emmanuele Bassi, Open Source Software Engineer
Intel Open Source Technology Center

_______________________________________________
clutter-app-devel-list mailing list
clutter-app-devel-list@clutter-project.org
http://lists.clutter-project.org/listinfo/clutter-app-devel-list

Reply via email to