Domain: protocol7.com
Stories and comments across the archive that link to protocol7.com.
Comments · 8
-
Native vs. non-native SVG
(1) While I agree with some
posters that there is a danger of distributing unfinishend
implementations, having a NATIVE SVG is a real breakthrough though.
Quote: "Mozilla can handle documents that contain SVG, MathML, XHTML,
SMIL, etc. all mixed together in the same 'compound' document.... ".
Means for instance that you can simply add a little vector graphic INTO
your XHTML code instead of importing png. Also means that the same
DOM/Ecma interface can be used to program dynamic websites, or that you
can dynamically transform XML contents into XHTML/SVG with XSLT
client-side on the fly...
(2) On another note: Adobe's Plug-in version 6.0 BETA is available. And
it does not crash Mozilla 1.4 (Win2k) when embedded in HTML. In order
to install it with Mozilla (tested with Moz 1.4/Win2k) you must copy
the 2 files from:
C:\Program Files\Common Files\Adobe\SVG Viewer 6.0\Plugins\*
to c:\Program Files\Mozilla.org\Mozilla\Plugins\ Did not see any Unix
version :(
http://www.adobe.com/svg/viewer/install/beta.html
PS: Plugin v3.0 kills Moz 1.4 (and others if you don't use iframes)
(3) There are some really cool SVG sites. My favorites:
http://www.carto.net/papers/svg/
(cool examples)
http://www.protocol7.com/svg-wiki/
(documentation about obscuret extensions,
i.e. shows how to get/post to URLS from within SVG ...)
- K -
SVG test images and SVG appsAfter you've downloaded you can test your new SVG-enabled mozilla build by checking out these galleries (see links on left of page). The thumbnails are ordinary bitmap images but they are linked to SVGs.
Bonus: All the images in the above galleries are Open Source, unless otherwise stated! (Quite literally, because SVG files are like "source code" for a vector image.)
As for SVG creating and editing software, apart from the new dSVG software announced earlier today on Slashdot, we have:
- Apache Batik for all you Java people. This is a fairly mature library (I believe it's based off the CSIRO library), plus sample apps like a viewer, a rasteriser (i.e. convert to gif, jpeg, etc.), a font converter, and a pretty-printer. Quotage: "With Batik, you can manipulate SVG documents anywhere Java is available. You can also use the various Batik modules to generate, manipulate, transcode and search SVG images in your applications or applets." Batik, according to its test suite, supports all of the static SVG specification (i.e. static images) and some of the dynamic specification (i.e. animations and scripting).
(Get your easy installable RPMs for Batik, and many other Java projects, at jpackage - but good luck finding a download link that works! Batik 1.5 hadn't propagated to all the Sourceforge mirrors when I tried it last night - so try all the US mirrors, it will be on at least one of them. Also, because of the numerous dependencies, it's recommended to use a smart package manager that can automatically resolve dependencies, like apt-get or urpmi.)
- Sodipodi, [screenshots] a GNOME SVG drawing app, currently at version 0.32. It hosts the open source SVG image gallery linked to above.
- For more, including KDE/Konq support for SVG, see this Wiki page
- Apache Batik for all you Java people. This is a fairly mature library (I believe it's based off the CSIRO library), plus sample apps like a viewer, a rasteriser (i.e. convert to gif, jpeg, etc.), a font converter, and a pretty-printer. Quotage: "With Batik, you can manipulate SVG documents anywhere Java is available. You can also use the various Batik modules to generate, manipulate, transcode and search SVG images in your applications or applets." Batik, according to its test suite, supports all of the static SVG specification (i.e. static images) and some of the dynamic specification (i.e. animations and scripting).
-
Re:Sounds great...
I agree completely that browsers need to support SVG, and until this is more advanced, tools like the one in this article are getting ahead of things (not that that's necessarily bad). People should vote for Mozilla bug 122092: "Enable SVG support". Ultimately, this needs to be done without plugins -- its really just another image format.
The Konqueror browser seems to have a push to get SVG going too: KSVG, but it has a way to go ("Release 0.1 pending").
There are a good set of SVG resources for Linux. The Apache Jakarta projects java SVG viewer, Batik is probably the farthest along. -
Re:Please take my advice
Two important differences between Flash and SVG related to internet-based vector-generated applications
SVG-based systems can be delivered using server with programs written in any language. Currently, you can deliver SVG web applications from Linux, Solaris, and Windows using SVG.pm module, C#, php, python, ASP, and Java through the Apache Batik. There is more info on these on the SVG wiki.
With Flash MX, you are currently limited to Windows servers. This means that you are forced to buy your entire server supply chain from monopolies. This is a Very Bad Thing.
SVG-based systems can be rendered by any internet-capable application. There are over a dozen independant rendering applications available free of charge, covering most operating systems.The Flash 6 viewer can only be downloaded for Windows, and is limited to desktop computers. It is fairly well known that the PC market is down and the bulk of growth on the web will be in portable applications (handhelds, phones, etc). In this market, there is *no* Flash player that I know of. This means that if you build a flash-based app for your windows visitors, you will need to spend that much money again building something for non-PC users.
There are more objective comparisons between SVG and Flash at carto.net.
--Hackmare
Perl SVG.pm evangelist
http://www.roasp.com/ -
Re:SVG not (yet?) for presentationAdobe SVG Viewer 3 also supports a SMIL 2 implementation of an audio element which can be synchronized with animations. This would allow you to synchronize your audio narration with your vector graphics animations.
Version 4 of Adobe SVG Viewer (renamed Adobe Image Viewer) also supports synchronization of video elements. Unfortunately Adobe Image Viewer only supports viewing SVG files that are embedded in Acrobat PDF files.
-
Re:Missing something?
Browsers already know how to handle audio tags...
See here for an SVG pong game that uses audio. -
Re:One Simple solution: SVG.
Yup. Doesn't get much more open than ASCII.
How long has Flash been around? Like 6 years? And how many authoring tools are there? Something like 3? How many viewers? Uh... one, right?
By contrast, SVG has been a W3C recommendation for all of 8 months, and I know of at least 4 aurhoring tools (not to mention the one I'm making right now, or numerous text editors) and 2 major viewers (along with a host of upcoming handheld viewers). Looks like open standards promote competition and innovation... who would have thought!?
Not to knock Flash... it has its uses. But before you commit to a technology on which to build a serious data-driven website with interactive graphics, do yourself a favor and check out SVG. The SVG-Wiki is a good place to start.
-
SVG GUI
There is a new SourceForge project called SVgUI. The intent is to make a windowing system--Web and possibly desktop-based--using Scalable Vector Graphics (SVG). There are no released files yet, but several promising examples of GUI elements have been posted on the SVG-Developers list.
Sorta off-topic, I know, but you might be interested in working with a community from the ground up.