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.

On Jul 7, 2009 5:16 PM, "spaceyguy" <[email protected]> wrote:


Is it possible to create a Gtk.Image using a System.Drawing.Bitmap object as
the source of the image? If not is there some kind of workaround which I can
use to do this.
--
View this message in context:
http://www.nabble.com/Gtk.Image-and-System.Drawing.Bitmap-tp24366793p24366793.html
Sent from the Mono - Gtk# mailing list archive at Nabble.com.

_______________________________________________
Gtk-sharp-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
_______________________________________________
Gtk-sharp-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list

Reply via email to