On 01/21/2012 01:58 PM, Uli Schlachter wrote:
You could find us a nice, small library for loading images into cairo surfaces.
Previously awesome was using imlib2 which has built-in support for loading a
wide variety of image formats.
However, the drawing API of imlib2 is IMHO quite limited and thus we switched to
cairo. Technically, cairo has no support for loading any kind of image. However
there is "toy function" (= "you shouldn't be using this") for loading PNG images
and that is what we are currently using.
I don't feel like inventing my own library just for this, so... dunno.
Uli
Thank you for anwering!
I am pretty bad at C so I'm afraid I can't help you with finding this
library. I may seem idiotic here (I really don't know the specifics) but
is there a chance to leave the support for imlib2 (in kind of deprecated
style)? I have some code that relies on displaying jpgs and feeding
images through imagemagick to convert them to pngs doesn't feel right
neither.
Regards,
Alexander
--
To unsubscribe, send mail to [email protected].