[cairo] cairo+DevIL ?

Dan Amelang daniel.amelang at gmail.com
Sat Aug 18 12:50:00 PDT 2007


On 8/18/07, John Ellson <john.ellson at comcast.net> wrote:
> Vladimir Vukicevic wrote:
> > John Ellson wrote:
> >> 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 got some code laying around that uses DevIL to load and save png
images for some pixman compositing tests I was running. It should be
straightforward to translate it to use cairo (cairo uses pixman
internally). I'll attach it here, hope it helps.

Dan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: composite.c
Type: text/x-csrc
Size: 1458 bytes
Desc: not available
Url : http://lists.cairographics.org/archives/cairo/attachments/20070818/6498da4c/attachment.c 


More information about the cairo mailing list