CairoSVG
CairoSVG copied to clipboard
Specific xlink href baseUrl
If I well understood, when converting a svg to png, the attribute <image ... xlink:href> is parsed for the contained url. However in some cases this url is relative; if I try to convert such kind of images on my machine when the svg image was downloaded from the internet, the python library looks for the link and then looks for the resource in the current folder, not in the remote baseUrl. Is it possible to specify this last somehow ?
Thanks in advance for the information
We should add something like what's been added to WeasyPrint in Kozea/WeasyPrint#532 and Kozea/WeasyPrint#437.