I have a SVG file that contains at least one embedded JPG/PNG image inside. I want to extract the JPG/PNG images from that SVG file and save them on disk.
I'm adding the inkscape
tag as it is the program I use to edit SVG files, but I also accept solutions using other tools.
Best Answer
My own solution (or... workaround):
XML Editor
(Shift+Ctrl+X)xlink:href
attribute, which will contain the image as data: URIdata:
URIdata:
URI into a browser, and save it from there.Alternatively, I can open the SVG file in any text editor, locate the
data:
URI and copy it from there.Although this solution works, it's kinda cumbersome and I'd love to learn a better one.