[Gtk-sharp-list] GTK# Streaming Image from net failing

SilkyPantsDan novacaine.nzl at gmail.com
Thu Oct 6 00:29:42 EDT 2011

Hey all,

Having a bit of trouble getting this to work - not fussed with threads and
such until I can get it working.

All I'm trying to do is pull an image from the net and display it in a
Gtk.Image, but before I even get there I can't even create a Gdk.Pixbuf from
the stream

Here's the image I'm trying to get

And how I go about getting the image

Then all I do is either create a new image from that stream with new
Gtk.Image(GetImage(url)) or create a new pixbuf in the same fashion.

If I pass the stream to the Image widget all I get is the default error X,
and if I use the Pixbuf I get an "Unexpected file format exception.

Any ideas?

View this message in context: http://mono.1490590.n4.nabble.com/GTK-Streaming-Image-from-net-failing-tp3877055p3877055.html
Sent from the Mono - Gtk# mailing list archive at Nabble.com.

More information about the Gtk-sharp-list mailing list