gareth_rees: (Default)
gareth_rees ([personal profile] gareth_rees) wrote2013-08-02 10:22 pm

Shrinking SVG

In “Scalable vector triangulations” I used the svgwrite package to draw the 429 triangulations of an oriented convex nonagon. But there was something unsatisfactory about the size of the resulting image: 1.2 MiB seems rather large for an image which has 3003 triangles and 6435 lines. A look at the source reveals three sources of wasted space )