Re: transferring images through ORBit and gdk_draw_rgb_image
- From: Michael Meeks <michael ximian com>
- To: pvosta unionbio-eu com
- Cc: oaubert bat710 univ-lyon1 fr,Gnome-components <gnome-components-list gnome org>,ORBit list <orbit-list gnome org>
- Subject: Re: transferring images through ORBit and gdk_draw_rgb_image
- Date: 21 Apr 2003 15:16:22 +0100
Hi Oliver / Peter,
On Fri, 2003-04-18 at 08:35, Peter Van Osta wrote:
> > I am facing the same problem, which I solved for the moment with this
> > IDL :
We should move these helpers into libbonoboui then certainly, so that
we can cope with new pixbuf formats etc. as they arrive in some slightly
wrapped fashion I think.
Oliver, are you interested in hacking this up, for inclusion into
libbonoboui / libbonobo ? I guess we need a Bonobo_GdkPixbuf module in
libbonobo/idl/Bonobo_Gdk.idl - at least.
> > The easiest way I found to convert the raw data to some other format
> > (pixbuf, png, ...) is to use the PIL library in python, which solves my
> > problems in a minimum of lines of code :
FWIW there is a nasty hack to turn a GdkPixbuf into a string in
libbonoboui/bonobo/bonobo-ui-util.c, see the pixbuf_to_xml /
xml_to_pixbuf routines :-)
HTH,
Michael.
--
mmeeks@gnu.org <><, Pseudo Engineer, itinerant idiot
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]