[Gtk-sharp-list] Gtk.Image and System.Drawing.Bitmap
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
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...
More information about the Gtk-sharp-list