Category:SVG simplification by avoidance
Often large parts of the tool-generated coding are just dead filling and can be stripped without any influence on the graphic.
The Inkscape file Bayer pattern with polish descriptions.svg (>208 KB) contains more than 98% mere garbage, useless code. On of many definitions is e.g.
style="opacity:0.81153845999999985
; 17 decimal fractions - but fill-opacity and stroke-opacity is defined later:fill:#000000;fill-opacity:0
; - it is invisible! (why not 0.00000000000000000 ?)stroke:#000000;stroke-width:1.70000005000000010;stroke-miterlimit:4;stroke-opacity:0.01339286
; - practically invisiblestroke-dasharray:none;stroke-dashoffset:7.79999999999999980
; an offset (17 fractions) for an invisible none dasharray
The mentioned file had been deleted, but Wikimedia has a lot of other examples for similar Inkscape garbage code.
As another example, the first fill of the rectangle with <path fill="#C31A3E" d="m0,0h126v84H0"/>
can be avoided with <circle fill="#C31A3E" r="160"/>
.
The radius should be . The mentioned file had been deleted, an example for using this method is shown in F1 yellow flag with red stripes.svg.
Media in category "SVG simplification by avoidance"
The following 18 files are in this category, out of 18 total.
-
10x10 checkered board transparent.svg 500 × 500; 255 bytes
-
7360 pinout.svg 396 × 624; 3 KB
-
Achivement ribbon of the Wyoming National Guard.svg 218 × 60; 308 bytes
-
F1 yellow flag with red stripes.svg 512 × 384; 153 bytes
-
Flag colors of France -Template.svg 300 × 300; 252 bytes
-
Flag of Andalucía (no CoA).svg 750 × 500; 199 bytes
-
Flag of the Ottoman Empire (Thicker Crescent).svg 900 × 600; 447 bytes
-
Gluelebensdauerrp-de.svg 620 × 319; 3 KB
-
ISO 639 Icon el.svg 400 × 180; 446 bytes
-
No Vandalism.svg 336 × 336; 576 bytes
-
Roj emblem.svg 1,000 × 1,000; 734 bytes
-
South Azerbaijan red flag.svg 900 × 600; 173 bytes
-
SVG-Unschärfe-Filter.svg 300 × 200; 2 KB
-
Tasreg5.svg 156 × 135; 258 bytes
-
The Noun Project logo.svg 160 × 160; 353 bytes
-
Thermodynamic-using-cambria-math.svg 36 × 50; 177 bytes
-
U+21F4.svg 16 × 16; 314 bytes
-
Uroko2.svg 512 × 512; 177 bytes