[maemo-developers] maemo-developers Digest, Vol 42, Issue 6

From: maemo developer 770810dev at gmail.com
Date: Tue Oct 14 17:16:32 EEST 2008
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 <thp at perli.net>
> Subject: Re: download and display image, please help.
> To: maemo-developers at maemo.org
> Message-ID: <20081006081930.525fba5a at macbook>
> Content-Type: text/plain; charset=US-ASCII
>
> On Mon, 6 Oct 2008 01:50:52 +0200
> "koos vriezen" <koos.vriezen at gmail.com> wrote:
> > 2008/10/2 maemo developer <770810dev at gmail.com>:
> > > 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maemo.org/pipermail/maemo-developers/attachments/20081014/e3f3c49f/attachment.htm 
More information about the maemo-developers mailing list