17 Apr
2013
17 Apr
'13
5:55 p.m.
Tav, thats interesting. Anything special to know about how to do the compression?
I have a similar problem, a very large SVG with a zillion gradiants and other unused cruft and the vacuum command doesn't clean them up.
On 04/17/2013 10:07 AM, Tavmjong Bah wrote:
On the web you should be serving compressed SVG files. The compressed sprite.svg is 18288 bytes, smaller than sprite.png which is 18833 bytes. If you clean up the SVG (remove the 36 unused definitions and save with the option available in 0.49 to remove unused/redundant/incorrect attributes) it compresses to 14492 bytes. SVG (and XML in general) compresses really well.
Tav
-- John Fisher Znyx Networks