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

Michael Hutchinson m.j.hutchinson at gmail.com
Tue Jul 7 22:37:16 EDT 2009

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" <spaceyguy at gmail.com> 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:
Sent from the Mono - Gtk# mailing list archive at Nabble.com.

Gtk-sharp-list maillist  -  Gtk-sharp-list at lists.ximian.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/gtk-sharp-list/attachments/20090707/5269b5b3/attachment.html 

More information about the Gtk-sharp-list mailing list