Jump to content
You must now use your email address to sign in [click for more info] ×

Recommended Posts

There should be an option to not apply IDs to the SVG for a smaller file size.

<?xml version="1.0" encoding="UTF-8" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg width="100%" height="100%" viewBox="0 0 90 90" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:1.41421;"><rect id="SomeRectangle" x="12.42" y="21.24" width="38.52" height="42.84" style="fill:#03006b;"/></svg>

See id="SomeRectangle"?

 

Is there an option to strip all of these?

Link to comment
Share on other sites

  • Staff

IDs are only created when you give an object a name in the Layers Panel. If you don't give it a name the ID won't be created in the xml. It's not possible to strip them all without editing all the layers in the Layers Panel to have no name.

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.