Inkscape.org
Beginners' Questions SVG JUNK when saving as PLAIN svg
  1. #1
    MAMS MAMS @MAMS
    I have only a rectangle in my document. When saving as PLAIN svg I get a lot of junk. (before saving as PLAIN svg I deleted all other unwanted bezier curves) Seems that INKSCAPE does not register these removals. When I start a new document with only the same rectangle everything is ok.
  2. #2
    inklinea inklinea @inklinea⛰️

    Would need an example svg file so we can see the problem

  3. #3
    Polygon Polygon @Polygon🌶

    A rectangle can be saved in its parametric status (means you can still alter the round corners later on parametrically for instance) or as a path with a stroke+fill, paper size etc; the "junk" just makes clear how the workspace maintained when opened in Inkscape again. Converting the rectangle object to a path and saving as Plain.svg will still contain a hint on the creator software (Inkscape), XML version used and some other defs. I can even strip it down to a three liner which will still display properly if you want to save some extra 300bytes. All this will not save you any disc space BTW as most OS have a minimum file size like 4KB for instance.

    BUT where you get unwanted Bézier curves in a rectangle description escapes me.

     

Inkscape Inkscape.org Inkscape Forum Beginners' Questions SVG JUNK when saving as PLAIN svg