Does SVG support need librsvg?

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
Vanderville
Posts: 2
Joined: 2015-06-16T08:50:42-07:00
Authentication code: 6789

Does SVG support need librsvg?

Post by Vanderville »

Hello folks,

I'm currently trying to compile a lightweight version of Imagemagick that will be mostly used for loading SVG files and rendering them to a buffer. The target system is QNX Neutrino. The main reason why I have come to Imagemagick is that I want to evade librsvg due to its Gnome dependencies.

Does ImageMagick need librsvg for svg rendering?
Can it be compiled without and still be used for svg rendering?

Thanks for your admittance
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Does SVG support need librsvg?

Post by magick »

ImageMagick relies on either of the librsvg or Pango delegate libraries. If they are missing, it uses the inkscape utility. We originally intended supporting SVG within ImageMagick, but it proved daunting.
Vanderville
Posts: 2
Joined: 2015-06-16T08:50:42-07:00
Authentication code: 6789

Re: Does SVG support need librsvg?

Post by Vanderville »

So is there any reasonable api that can load&render generic svgs by itself that doesn't use anything gnome specific?
Post Reply