Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

About SVG (to use or not to use?) [closed]

Tags:

svg

About SVG: is it old technology? I mean maybe after year it will die (will be forgotten)? Is it good to use SVG in new startups for vector graphics? how well SVG is supported by browsers and developers? Can i find reach libraries and good books about it?

Thank you for any advice!!!

like image 566
Edward83 Avatar asked Dec 04 '10 06:12

Edward83


1 Answers

All major browsers support SVG quite well, except IE. IE9 will bring SVG support, but not the whole spec (SMIL and filters won't be available for example). Moreover, recent JavaScript performance improvements also benefit SVG.

I don't think it will die soon. Actually, it has not been usable in web projects until now due to the lack of browser support. But as soon as IE9 is available, I predict the rise of the use of SVG. For sure it won't be dropped in the near future.

Some major companies already use it. Google Maps does, and falls back to VML (an old IE specific vector graphics language) if needed.

Canvas is its main competitor, but there is a big difference between both: Canvas is an API and SVG is a document that you can modify through the DOM.

You don't need libraries since SVG is XML. Just write it like you write HTML.

So it might fit your needs, depending on your application.

like image 142
Tangui Avatar answered Nov 15 '22 11:11

Tangui