[cairo] Converting SVG images to PNG
Freddie Witherden
freddie at witherden.org
Wed Aug 27 15:56:14 PDT 2008
Hi Chad,
> I'd rather not use it. So, is there still some way to
> use Cairo to accomplish these goals?
I am/was in a similar position to yourself (interested in adding SVG
support to Cairo for a game, wishing to avoid rsvg if at all
possible). After looking around the only 'alternative' so to speak is
libsvg + libsvg-cairo, which although scores well in the dependency
department does appear to be un-maintained.
Despite this, it does work reasonably well for simple SVGs, however,
it does not fare well for more complex ones. Depending on the
complexity of your SVGs it may be sufficient.
Another possibility is to use poppler (exporting your SVGs as PDF
files). This may or may not be suitable depending on what dependencies
you are willing to have.
Regards, Freddie.
More information about the cairo
mailing list