[maemo-developers] download and display image, please help.

From: koos vriezen koos.vriezen at gmail.com
Date: Mon Oct 6 02:50:52 EEST 2008
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.

Koos

More information about the maemo-developers mailing list