> If are willing to use bleeding edge PLplot (v11198), we now have a
> function called plsmema() that you can use to pass RGBA formatted memory
> to PLplot. You will also have to use the memcairo driver as it is the
> only one that can take advantage of memory formatted in this way. Don't
> worry though, because when you get the array back from Cairo it will
> still be in RGBA format, it doesn't get converted to ARGB.
>

Just a note that PIL appears to support the ARGB format too, so if you're
going through python you can use it to reformat the data.

See "unpackARGB" in:
http://svn.effbot.org/public/tags/pil-1.1.4/libImaging/Unpack.c

Simon


------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to