Re: XImage -> GdkImage

2005-08-03 Thread Ken Siersma
Tristan Van Berkom wrote: Ken Siersma wrote: Is there an easy way to convert an XImage to a GdkImage? /* Draw your image to a Pixmap (now has an XID and is an X resource) */ XPutImage (); /* Make a Gdk representation of your X resource */ gdk_pixmap_foreign_new (); /* Get GdkImage */ gdk_

Re: XImage -> GdkImage

2005-08-03 Thread Tristan Van Berkom
Ken Siersma wrote: Is there an easy way to convert an XImage to a GdkImage? /* Draw your image to a Pixmap (now has an XID and is an X resource) */ XPutImage (); /* Make a Gdk representation of your X resource */ gdk_pixmap_foreign_new (); /* Get GdkImage */ gdk_drawabe_get_image (); Cheers

XImage -> GdkImage

2005-08-03 Thread Ken Siersma
Is there an easy way to convert an XImage to a GdkImage? Thanks. Ken -- Ken Siersma, Software Engineer EKK, Inc. phone: (248) 624-9957 fax: (248) 624-7158 http://www.ekkinc.com -- "Our lives begin to end the day we become silent about things that matter." -MLK Jr. __