« Return to Thread: Gtk.Image and System.Drawing.Bitmap

Re: Gtk.Image and System.Drawing.Bitmap

by spaceyguy :: Rate this Message:

Reply to Author | View in Thread

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 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.

 « Return to Thread: Gtk.Image and System.Drawing.Bitmap