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

SilkyPantsDan novacaine.nzl at gmail.com
Thu Oct 6 00:51:15 EDT 2011


I have managed to work around the issue by converting the stream to a
System.Drawing.Bitmap first, then to another Memory Stream, then finally to
a Gdk.Pixbuf with this handy method

(I use Png because I pass some transparent images through the same code)

Of course it's just side stepping around the issue, which I think might have
more to do with the raw data pulled from the internet. Does the PixBuf
expect a full image with header info, and not just raw pixel data by chance?

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

More information about the Gtk-sharp-list mailing list