[maemo-developers] download and display image, please help.
From: Thomas Perl thp at perli.netDate: Mon Oct 6 09:19:30 EEST 2008
- Previous message: download and display image, please help.
- Next message: download and display image, please help.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: download and display image, please help.
- Next message: download and display image, please help.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]