Is there any way to quickly extract SVG assets on a website including SVG HTML paths back to SVG files. Any apps, dev tools, extensions that lets you do this?
Extracting SVG HTML paths back to SVG files from a website
Asked Answered
Given an svg
element you'd like to save:
Edge
- Right Click > Save Picture As
Chrome, Firefox, etc.
- Inspect Element (Make sure you've selected the root
svg
element you'd like to save). - Right Click > Edit as HTML
- Copy the outer HTML
- Paste in your favorite text editor (VS Code), and save as a
.svg
bonus step if you want a lighter optimized svg file:paste the markup in jakearchibald.github.io/svgomg –
Tude
Alternatively, have a look at svg-path-editor.
Just copy-paste the d
parameter from an HTML page and click "Downaload as SVG" button
© 2022 - 2024 — McMap. All rights reserved.