Inkscape.org
Beyond the Basics Embed linked SVG
  1. #1
    Kresimir Kresimir @kresimir235
    *

    I have an SVG file which has another SVG file linked using the <image> tag. I would like to embed the linked SVG file so that I can edit it in Inkscape. I can do this by editing the SVG file in a text editor and manually replacing the <image> tag(s) with the contents of the linked file(s), but that is extremely tedious, time-consuming and impractical. Is there a way to do it with Inkscape?

  2. #2
    brynn brynn @brynn

    I think I saw an extension that was something like this.  Let's see...

    Could this be what you need?  I'm honestly not sure, but it sounds like it might be close 

    https://github.com/fsantini/inkscape_LinkSVG

     

  3. #3
    Kresimir Kresimir @kresimir235
    *

    Unfortunately, that extension does the opposite of what I need. It allows me to create linked SVGs, while I need to convert linked SVGs into embedded SVGs.

    In other words, every <image> tag has to be replaced with the contents of the file linked with it, so that it can be edited in Inkscape. The default extension "Embed Images..." does that for bitmaps, but not for SVGs.

  4. #4
    brynn brynn @brynn

    Aah, ok.  In that case, you'll need to wait for someone else who is more familiar with this kind of thing.  I barely have a vague idea what you're asking.  Someone should be along pretty soon.

  5. #5
    Patrick Storz Patrick Storz @Ede_123

    I don't think that's possible currently (with Inkscape).

    In the upcoming version you can choose wether to embed (as <img>) or include (editable) another SVG into the current document on import, but that's likely not what you're looking for.