[cairo] cairo+DevIL ?
John Ellson
john.ellson at comcast.net
Fri Aug 17 19:50:59 PDT 2007
In a January 2007 posting
<http://lists.cairographics.org/archives/cairo/2007-January/009198.html>
Vlad suggested that DevIL
<http://openil.sourceforge.net/>
would make a good backend for rendering other bitmap formats (gif, jpeg,
tga, ...) from cairo.
Is this still the best-practice recommendation? Is there any sample
code out there?
I've made an initial attempt to bind the two together. The problem I'm
having at the moment
is that the in-memory data formats seem to be incompatible:
CAIRO_FORMAT_ARGB32 v. IL_RGBA
Do I really have to byte-twiddle the image data just to transfer between
these two fine libraries?
John Ellson
More information about the cairo
mailing list