SVG, links

Tomas By tomas at basun.net
Sat Mar 1 21:18:39 UTC 2025


Hi all,

I am using the C API to write both PNG and SVG from the same image
(created using Cairo). The PNG looks fine, but the SVG is a very short
file with a "href" data/image, apparently linking to some external
resource.

Is there no way to get a complete SVG file with no links to anything
else? The Cairo SVG surface API does not seem to contain anything that
looks useful for this purpose.

(I do not have the code on this machine.)

/Tomas


More information about the cairo mailing list