Information AboutSvg |
requires a browser with either native or plugin SVG support]] Scalable Vector Graphics ('''SVG''') is an XML Markup Language for describing two-dimensional Vector Graphics , both static and Animated (either declarative or scripted). It is an Open Standard created by the World Wide Web Consortium , which is also responsible for standards like HTML and XHTML . OVERVIEW SVG allows three types of graphic objects:
Graphical objects can be grouped, styled, transformed and composited into previously Rendered objects. Text can be in any XML Namespace suitable to the application, which enhances searchability and Accessibility of the SVG graphics. The feature set includes nested Transformation s, Clipping Paths , Alpha Masks , Filter Effect s, Template Object s and Extensibility . SVG drawings can be dynamic and interactive. The Document Object Model (DOM) for SVG, which includes the full XML DOM, allows straightforward and efficient vector graphics animation via ECMAScript or SMIL . A rich set of Event Handler s such as ''onmouseover'' and ''onclick'' can be assigned to any SVG graphical object. Because of its compatibility and leveraging of other Web standards, features like Scripting can be done on SVG elements and other XML elements from different Namespace s simultaneously within the same web page. An extreme example of this is a complete Tetris game implemented as an SVG object, found here ! (The link requires an SVG enabled browser.) If storage space is an issue, SVG images can be saved with Gzip compression, in which case they may be called "SVGZ files". Because XML contains verbose text, it tends to Compress very well and these files can be much smaller. Often however the original vector-file (SVG) is already smaller than the rasterised version. Impact on the Web The widespread adoption of SVG clients, particularly those natively embedded in Web Browser s (as it is in Firefox and Opera ), may bring a significant new look-and-feel to the World Wide Web . A current trend is to build dynamic Web Site s that behave somewhat like desktop applications, utilizing the Ajax technique. SVG enhances the capabilities of Ajax, by providing a rich, graphical set of page elements, well beyond those specified by HTML / CSS . The SVG Terminal module for Firefox is an early example of this. DEVELOPMENT HISTORY SVG was developed by the W3C SVG Working Group starting in 1998, after Macromedia and Microsoft introduced Vector Markup Language (VML) whereas Adobe Systems and Sun Microsystems submitted a competing format known as PGML . The Working Group was chaired by Chris Lilley of the W3C.
in SVG]] Mobile profiles Because of industry demand, two mobile profiles were introduced with SVG 1.1: ''SVG Tiny'' (SVGT) and ''SVG Basic'' (SVGB). These are subsets of the full SVG standard, mainly intended for User Agent s with limited capabilities. In particular, SVG Tiny was defined for highly restricted mobile devices such as Cellphone s, and SVG Basic was defined for higher level mobile devices, such as PDAs . Neither mobile profile includes support for the full DOM, while only SVG Basic has optional support for scripting, but because they are fully compatible subsets of the full standard most SVG graphics can still be rendered by devices which only support the mobile profiles. SUPPORT FOR SVG IN BROWSERS AND OTHER APPLICATIONS The use of SVG on the web is in its infancy. There is a great deal of inertia from the long-time use of pure raster formats and other formats like Macromedia Flash or Java Applet s, but also browser support is patchy, with most browsers requiring a plugin. Web sites which serve SVG images typically also provide the images in a raster format, either automatically by HTTP Content Negotiation or allowing the user to directly choose the file. Alternative images are usually automatically rasterised using a library such as '' ImageMagick '', which provides a quick but incomplete implementation of SVG, or '' Batik '', which implements all SVG except declarative animation but requires the Java Runtime Environment . Some currently supports the SVG format. Plugin support In browsers such as (the Corel SVG Viewer ). Native support There are several advantages to native support, among which are no need for the installation of a plugin, the ability to freely mix SVG with other formats in a single document, and rendering scripting between different document formats considerably more reliable. At this time all major browsers have committed to some level of SVG support except for Internet Explorer. See Comparison Of Layout Engines for further details.
Mobile support On mobile, the most popular implementations for mobile phones are by Ikivo and Bitflash , while for PDAs, Bitflash and Intesis have implementations. Flash Lite by Macromedia optionally supports SVG Tiny since version 1.1. At the SVGOpen 2005 conference, Sun demonstrated a mobile implementation of SVG Tiny 1.1 for the CDLC platform. The TinyLine SVG viewer, written in Java, is also targeted at mobile devices. Mobile svg players from Ikivo and BitFlash come pre-installed i.e. manufacturer burn the SVG player code in their mobiles before shipping to the customers. TinyLine SVG viewer can be installed as a J2ME application even after the mobile is shipped to the customers. Level of SVG Tiny support varies from mobile to mobile depending on the manufacturer and version of the svg player installed. Many of the new mobiles support additional features beyond SVG Tiny 1.1, like gradiant and opacity. Openwave phone simulator version 7 support sviewing svg tiny 1.1 content, such as simple animations and static svg images. It also supports displaying static svg content embedded inside xhtml using |