Re: Images from RAM?

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

 



Hi,

Hadmut Danisch <hadmut@xxxxxxxxxx> 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
_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux