Re: Images from RAM?



Hi,

Hadmut Danisch <hadmut danisch de> writes:

> gtk_image_new_from_file ()  would probably do the job, 
> except for the fact that it requires a file in the file system.
> Writing out the downloaded file just for reading it in again is
> certainly not a good idea.

Create a new GdkPixbufLoader and write the data to it. The resulting
pixbuf can be set on the GtkImage widget.


Sven



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]