GenewalDesign Posted March 17, 2023 Share Posted March 17, 2023 The SVG language features an <use> element, that duplicates an item from the document, instead of multiplying the code blocks. I did a huge illustration with lots of duplicated elements, and when I exported it, the code was HUGE. To reduce the size of my file, I had to manually translate every duplicated object with the <use> element. Reference from mozilla : https://developer.mozilla.org/en-US/docs/Web/SVG/Element/use Quote Link to comment Share on other sites More sharing options...
Zeno Posted July 25, 2023 Share Posted July 25, 2023 I'm having the same issue. Just a wasted opportunity to make the SVG export a lot better. Shouldn't be that hard to implement either. I would love to see this being improved, along with many other issues that SVG export has right now. Quote Link to comment Share on other sites More sharing options...
Briandash Posted November 5, 2023 Share Posted November 5, 2023 I came here to request this too! SVG file size could be reduced by like 90% if it wasn’t duplicating the code of every repeated asset. Maybe there could be a “clone” command in addition to copy/duplicate. Or a special layer, like an artboard, but to place all the symbol defs on that can get reused in the main image. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.