WIP: image-loader: Add SVG support using librsvg
SVG is a vector format which is quite widespread on the Linux desktop, both for icons and for wallpapers.
librsvg is a GNOME project doing rendering of SVG using cairo, which Weston is already using.
This patch only adds support for rendering it at the internal dimensions of the image, since all previous image formats supported are bitmap it didn’t make sense to allow re-rendering at a different resolution. A future improvement would be to let the user specify the wanted size so that the image will be rendered pixel perfect, without any scaling, even on HiDPI outputs and such.
Signed-off-by: Emmanuel Gil Peyrot firstname.lastname@example.org
I tagged this MR WIP because I would prefer it to be merged after the next release, which is also why I didn’t touch autotools at all.