[Gtk-sharp-list] Gtk.Image and System.Drawing.Bitmap

spaceyguy spaceyguy at gmail.com
Tue Jul 7 23:47:21 EDT 2009

Michael Hutchinson wrote:
> There are a few ways to do this, though IMO all are suboptimal. The
> easiest
> would be to save the Bitmap to a MemoryStream then load the Gtk.Image from
> that stream.
> FWIW, why do you have a Bitmap? Depending on what you're doing, you may be
> able to go straight to the Gtk.Image.
Ive been playing around with the facebook api, using something the 
http://facebooktoolkit.codeplex.com/ Facebook Developer Toolkit , and it can
return a Bitmap object for getting a profile picture. I wanted to know if it
would be easier to just use the Bitmap or use the url instead.
View this message in context: http://www.nabble.com/Gtk.Image-and-System.Drawing.Bitmap-tp24366793p24384865.html
Sent from the Mono - Gtk# mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/gtk-sharp-list/attachments/20090707/0a1a36dc/attachment.html 

More information about the Gtk-sharp-list mailing list