Can curl cache received image? How about libsoup? How to install libsoup on my 770? (I could not find libsoup in my build, libcurl is there.) thanks.
> > > Date: Mon, 6 Oct 2008 08:19:30 +0200 > From: Thomas Perl <[EMAIL PROTECTED]> > Subject: Re: download and display image, please help. > To: [email protected] > Message-ID: <[EMAIL PROTECTED]> > Content-Type: text/plain; charset=US-ASCII > > On Mon, 6 Oct 2008 01:50:52 +0200 > "koos vriezen" <[EMAIL PROTECTED]> wrote: > > 2008/10/2 maemo developer <[EMAIL PROTECTED]>: > > > I am new to maemo/gtk/gnome etc. I try to build an application that > > > can run on nokia 770. One simple thing this application needs to do > > > is to download graphic from internet and display the graphic on the > > > device. I got the image by using curl library, now how to display > > > the image? Tried to save the image to a file than display it using > > > set_image_from_file, it worked but very slow. how to display the > > > graphic from image stream in memory directly? gtkhtml can't help > > > right? It doesn't seem able to display image. Thanks. > > > > For a start, you can use GdkPixbufLoader to write the data from your > > network stream directly. > > In addition, you might decide to use libsoup instead of libcurl, as the > former is GLib-based and might be easier to integrate in your > GTK-based app (i.e. GObject signals to connect to when parts have > finished downloading). > > > Thomas > >
_______________________________________________ maemo-developers mailing list [email protected] https://lists.maemo.org/mailman/listinfo/maemo-developers
