2008/9/16 Max Semenik maxsem.wiki@gmail.com:
On 16.09.2008, 13:35 David wrote:
What's the quality of in-browser SVG rendering on Firefox 3.0 and 3.1? Looking at it casually, FF 3 betas did good rendering but weren't very fast. OTOH, sending the hard work to the client when you know it's up to the task is reasonable these days. I believe ordinary HTML <img src="something.svg" height=nn width=nn> works fine. (Haven't tried Safari, Chrome or Opera.)
http://en.wikipedia.org/wiki/Image:Flag_of_Mexico.svg is 500kb, while most uses of it are 25px thumbnails. Something must be done about it.
Er, yeah, there is that ... I suppose it would be plausible to render and cache tiny versions. (At this point it starts sounding complicated.)
Also, there are people who still use IE5, Netscape or other kinds of nonsense who will be unable to see SVGs.
I was thinking in terms of sending SVGs directly only to browsers that can definitely handle it, not to everyone. I'm not sure there's a reasonable capability check - FF2 thinks it can do SVGs, but does a horrible job.
- d.