User:MarianSigler/Inkscape
Original version: (2017 bytes)
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <!-- Created with Inkscape (http://www.inkscape.org/) --> <svg xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://web.resource.org/cc/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" xmlns:sodipodi="http://inkscape.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" sodipodi:docname="test.svg" sodipodi:docbase="/home/marian" inkscape:version="0.41" sodipodi:version="0.32" id="svg2" height="750.00000" width="750.00000"> <defs id="defs3" /> <sodipodi:namedview inkscape:current-layer="layer1" inkscape:document-units="px" inkscape:cy="520" inkscape:cx="375" inkscape:zoom="0.35" inkscape:pageshadow="2" inkscape:pageopacity="0.0" borderopacity="1.0" bordercolor="#666666" pagecolor="#ffffff" id="base" /> <metadata id="metadata4"> <rdf:RDF id="RDF5"> <cc:Work id="Work6" rdf:about=""> <dc:format id="format7">image/svg+xml</dc:format> <dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage" id="type9" /> </cc:Work> </rdf:RDF> </metadata> <g id="layer1" inkscape:groupmode="layer" inkscape:label="Layer 1"> <path d="M 579.99998 355.71429 A 208.57143 208.57143 0 1 1 162.85713,355.71429 A 208.57143 208.57143 0 1 1 579.99998 355.71429 z" sodipodi:ry="208.57143" sodipodi:rx="208.57143" sodipodi:cy="355.71429" sodipodi:cx="371.42856" id="path1293" style="fill:#000000;fill-opacity:1.0000000;fill-rule:evenodd;stroke:#0000ff;stroke-width:10.000000;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4.0000000;stroke-dashoffset:0.0000000;stroke-opacity:1.0000000" sodipodi:type="arc" /> </g> </svg>
Cleaned-up version: (332 bytes)
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <!-- Created with Inkscape (http://www.inkscape.org/) --> <svg xmlns="http://www.w3.org/2000/svg" height="750" width="750" version="1.0"> <circle r="208.57143" cy="355.71429" cx="371.42856" style="fill:#000; fill-rule:evenodd; stroke:#00F; stroke-width:10" /> </svg>
- removed the lots of xy:xmlns (only xmlns is needed), the Inkscape version information and the documents (local) path
- removed the empty <defs>
- removed namedview (just view information)
- removed metadata
- removed the <g>
- converted path to circle (I don't know why, but Inkscape saves a circle as a path)
- cleaned up the style attribute (most of the things are standard and a circle has no linecap) Inkscape also saves stroke-color etc. even if stroke is none.