On Thu, Oct 16, 2008 at 05:12:40PM +0300, Arto Karppinen wrote:

> Hi, were developing an application which is supposed to show user
> images downloaded from web server using xmlrpc. The problem is that
> we cant quite figure out how to create a pixbuf from a buffer which
> contains the RAW contents of a file.

You can use GdkPixbufLoader to do that.

A sample implementation here (function get_pixbuf_from_image()):

https://garage.maemo.org/plugins/scmsvn/viewcvs.php/trunk/src/util.c?root=vagalume&view=markup

-- 
Alberto García González
http://people.igalia.com/berto/
_______________________________________________
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers

Reply via email to