Firefox 1.1 Plans Native SVG Support 415
Spy Hunter writes "The Scalable Vector Graphics format has yet to take off on the web, perhaps due to a small installed base of SVG-enabled browsers. That could soon change as the latest Firefox 1.1 nightly builds have started coming with native SVG support compiled in and enabled by default. If this feature makes into the Firefox 1.1 release (which is not certain, but likely, as the developers want it to happen) it will increase the number of web users who have an SVG renderer installed. But perhaps more interesting than that is the possibility of mixing SVG graphic elements directly into the markup of regular XHTML pages, freeing vector graphics from the small rectangle of a browser plugin and opening up a host of exciting new possibilities for web developers. This is enabled by the integration of SVG directly into the Gecko rendering engine, instead of as a browser plugin. With such a useful web developer feature available only in Firefox, could we soon start seeing websites asking their users to download Firefox to get the best browsing experience?"
More info... (Score:4, Informative)
Re:What is SVG? (Score:2, Informative)
Re:Excellent (Score:5, Informative)
Re:What graphic editors support SVG? (Score:2, Informative)
i use both, personally. SVG has been a primary format target for me as a programmer for a couple years now
Re:What is SVG? (Score:5, Informative)
On the other hand, SVG offers an easier (or what seems should be easier) method of dynamically-generating images like charts and graphs. Combined with some javascript (think XMLHttpRequest), you can change and interact with these graphs in realtime. Along with vector graphic's "infinite" resolution you've got a lot of powerful options for graphing alone.
Re:What is SVG? (Score:5, Informative)
Well, they're both good for different things.
JPEGS are simple raster images. A jpeg and a bitmap are one in the same (with jpeg having good compression). Simply, it comes down to this bit is this color, this bit is this color, and this bit is this color. If you magnify raster images, you end up with blurred and horribly pixellated images that have almost no resemblance of the original.
A SVG (and similar technologies) uses vector graphics. The best way to explain this is thus: Graph a line Y=X on a xy coordinate plane. You end up with a 45 degreee angle. Now, if you were to view a portion between 0 and 10^-100(X) and 0 to 10^-100(y) it's still going to be a line. It's not going to be a stairstep pixelated crap.
Probably the best usage of SVG's would be simple images made for dramatically inbcreasing size (like icons in KDE) or other size-variation.
The only way to do pretty increasing size icons now are to shim a javascript to display 6 or so jpegs that were manually sized. These do not account for resolution on your screen.
Hopefully, Ive made clear what these things are.
Inkscape (Score:5, Informative)
Re:What graphic editors support SVG? (Score:4, Informative)
Re:"download Firefox to get the best browsing..." (Score:3, Informative)
Ex: Implement SVG as a bandwidth savings measure, then keep static PNG/GIF images around for when IE shows up. That's why the webserver is told which browser is visiting, IIRC.
Re:wasn't this in kde 3.2? (Score:2, Informative)
Re:Excellent (Score:4, Informative)
Look at Greasemonkey (Score:3, Informative)
Look at Greasemonkey [mozdev.org], You can do this today in FF
Re:Firefox only? not for long... (Score:2, Informative)
Re:What graphic editors support SVG? (Score:3, Informative)
Re:"only in Firefox" - NOT (Score:4, Informative)
The reason for the excitement (and SVG soon to be switched on by default in FireFox) is a new SVG backend which is supposedly much better, although the old one always worked just fine for me.
Re:What is SVG? (Score:1, Informative)
The best use of SVG would actually be structured graphics, something not possible with any of the current bitmap formats. You could have some parts of your drawing scale independently of others. Or style your drawing based on CSS so it picks up the site theme. You could have dynamically updating statistics that let you actually select percentages because the percentages are text fields. There are many, many very useful things you can do with structured graphics that are clumsy and complicated to do right now. And don't forget, SVG lets you use bitmap images too (using the "image" element), so you can easily cobble together a structured drawing that's bitmap based using SVG as well.
Case in point, at work I'm currently building a web-based floorplan viewer that can highlight various surfaces and floorplan items based on UI events, and give information about them. I ended up designing it so the floorplans get generated into SVG server-side, with the structure embedded using "g" group elements with various classes indicating the sort of element they are, and an actionscript importer/renderer in flash that deals intelligently with that content (so you can select a desk and instantly see which employee sits at it, for example). Ofcourse, I had to write my own SVG class, so the time invested isn't worth it for most situations. But if there was good support in the browser for dealing with SVG files in an intelligent and dynamic way without having to write a ton of code in something like flash, it would produce a waterfall of new and innovative web apps.
Dynamically increasing icons are nice eye candy, but they are not even the tip of the iceberg when it comes to what would become possible if SVG had decent support in the browser.
Re:"only in Firefox" (Score:3, Informative)
Yes, but that would be SVG is name only, and it wouldn't do anything that Flash can't already do... The whole point of SVG support is that it comes out of the bounding box and into the CSS/HTML/Javascript.
Re:Mixing SVG into XHTML: Standard? (Score:3, Informative)
Re:What graphic editors support SVG? (Score:3, Informative)
Actually, that list is fairly out of date. The last content dates are from 2002, and there's no mention yet of Inkscape [inkscape.org], that came on the scene over a year and a half ago [inkscape.org].
Re:Please: SVG Maps (Score:4, Informative)
The only thing left to wonder is will it take 2 or 20 years?
Re:Opera (Score:5, Informative)
SVGT [SVG-Tiny] does not support scripting. SVGB [SVG-Basic] allows optional support of scripting, and includes all of the language features from SVG 1.1 to support scripting.
Both SVGB and SVGT support the full set of SVG 1.1's declarative animation features:
The language features to support animation through scripting and DOM are available in SVGB. SVGT only supports declarative animation.
SVGB and SVGT allow implicit targeting of parent elements, and targeting elements using the 'xlink:href' attribute.
SVGB and SVGT support linear, spline, paced and discrete animations.
Well... SVG Tiny vs SVG Basic (Score:4, Informative)
SVG basic = PDAs
SVG = personal computers
And if you'd checked this page
http://www.w3.org/TR/SVGMobile/#sec-eleind [w3.org], which is Google hit #1 for 'svg tiny', you would see the differences between SVG tiny and SVG basic in terms of supported elements, styles (further down), etc.
In addition, anywhere where SVG basic at least reads "n/a", that's a feature that should be in SVG full.
Re:And... the big news (Score:3, Informative)
Do you ever use Firefox? Have you ever had the left hand side bar overlap the comments and article?
Opera has it already (Score:3, Informative)
depends... (Score:3, Informative)
From Appendix A: SVG Requirements [w3.org]
[...] Paths can be made up of any combination of the following:
Re:I would kill for SVG in schema (Score:2, Informative)
Re:And... the big news (Score:5, Informative)
Re:Please: SVG Maps (Score:3, Informative)
Re:Accept Header (Score:2, Informative)
Re:"only in Firefox" (Score:3, Informative)
Re:Developers dictating users' browsers? (Score:1, Informative)
The article submitter borked it up, because SVG is not a Firefox-only feature: it will also be present in all the other Gecko browsers, it's already (partially) supported in Opera, and if it's not in KHTML already then it will be soon - which will bring in just about every other Linux and Mac user. The only browser with no plans for native SVG support is - you guessed - Internet Explorer.
Why the fuck should I, as a web designer, let Microsoft dictate what features I use?
Re:Opera has it already (Score:2, Informative)
http://developers.slashdot.org/comments.pl?sid=14
Re:It's only OK if it's us. (Score:3, Informative)
It took MP3 a decade to catch on, with no competition; Ogg Vorbis has pretty good commercial support already after much less time. I wouldn't view it as a failure.
SVG actually has a better chance: it fulfills a real need that none of the existing alternatives (including Flash) address.
Re:Will it fix the memory leak? (Score:2, Informative)
Re:Please: SVG Maps (Score:2, Informative)
http://sourceforge.net/projects/qpegps/ [sourceforge.net]
http://sourceforge.net/projects/virtualhiker/ [sourceforge.net]
http://sourceforge.net/projects/roadnav/ [sourceforge.net]
Re:"only in Firefox" - NOT (Score:3, Informative)