All Topics  
Scalable Vector Graphics

 

   Email Print
   Bookmark   Link






 

Scalable Vector Graphics



 
 
Scalable Vector Graphics (SVG) is a family of specifications of XML-based file format
File format

A file format is a particular way to encode information for storage in a computer file.Since a disk drive, or indeed any computer storage, can store only bits, the computer must have some way of converting information to 0s and 1s and vice-versa....
 for describing two-dimensional vector graphics
Vector graphics

Vector graphics is the use of geometrical Primitive s such as point s, line , curves, and shapes or polygon, which are all based upon mathematical equations, to represent s in computer graphics....
, both static and dynamic (interactive or animated).

The SVG specification is an open standard
Open standard

An open standard is a standard that is publicly available and has various rights to use associated with it, and various properties of how it was designed....
 that has been under development by the World Wide Web Consortium
World Wide Web Consortium

The World Wide Web Consortium is the main international standards organization for the World Wide Web . It is arranged as a consortium where member organizations maintain full-time staff for the purpose of working together in the development of standards for the World Wide Web....
 (W3C) since 1999.






Discussion
Ask a question about 'Scalable Vector Graphics'
Start a new discussion about 'Scalable Vector Graphics'
Answer questions from other users
Full Discussion Forum



Encyclopedia


Bitmap Vs Svg
Scalable Vector Graphics (SVG) is a family of specifications of XML-based file format
File format

A file format is a particular way to encode information for storage in a computer file.Since a disk drive, or indeed any computer storage, can store only bits, the computer must have some way of converting information to 0s and 1s and vice-versa....
 for describing two-dimensional vector graphics
Vector graphics

Vector graphics is the use of geometrical Primitive s such as point s, line , curves, and shapes or polygon, which are all based upon mathematical equations, to represent s in computer graphics....
, both static and dynamic (interactive or animated).

The SVG specification is an open standard
Open standard

An open standard is a standard that is publicly available and has various rights to use associated with it, and various properties of how it was designed....
 that has been under development by the World Wide Web Consortium
World Wide Web Consortium

The World Wide Web Consortium is the main international standards organization for the World Wide Web . It is arranged as a consortium where member organizations maintain full-time staff for the purpose of working together in the development of standards for the World Wide Web....
 (W3C) since 1999. SVG images and their behaviours are defined in XML text files. This means that they can be searched, indexed, scripted
Scripting language

A scripting language, script language or extension language, is a programming language that allows some control of a single or many Application software....
 and, if required, compressed.

SVG is also well-suited to small
Smartphone

A smartphone is a mobile phone offering advanced capabilities beyond a typical mobile phone, often with personal computer-like functionality. There is no industry standard definition of a smartphone....
 and mobile devices. The SVG Basic and SVG Tiny specifications were developed with just such uses in mind and many current mobile devices support them.

Being XML files, SVG images can be edited with any text editor
Text editor

A text editor is a type of software application used for editing plain text files.Text editors are often provided with operating systems or software development packages, and can be used to change configuration files and programming language source code....
, but specialized SVG-based drawing programs are also available.

All major modern web browser
Web browser

A Web browser is a application software which enables a user to display and interact with text, images, videos, music, games and other information typically located on a Web page at a website on the World Wide Web or a local area network....
s except Microsoft Internet Explorer
Internet Explorer

Windows Internet Explorer , commonly abbreviated to IE, is a series of graphical user interface web browsers developed by Microsoft and included as part of the Microsoft Windows line of operating systems starting in 1995....
 support and render SVG markup directly. To view SVG files in Internet Explorer (IE), users have to download and install a browser plugin.

Since 2001, the SVG specification has been updated to version 1.1 (current Recommendation) and 1.2 (still a Working Draft). The SVG Mobile Recommendation introduced two simplified profiles of SVG 1.1, SVG Basic and SVG Tiny, meant for devices with reduced computational and display capabilities. SVG Tiny later became an autonomous Recommendation (current version 1.2) and the basis for SVG 1.2. In addtion to these variants and profiles, the SVG Print specification (still a Working Draft) contains guidelines for printable SVG 1.2 and SVG Tiny 1.2 documents.

Overview


SVG has been in development since 1999 by a group of companies within the W3C after the competing standards PGML
PGML

Precision Graphics Markup Language is an Extensible Markup Language-based language for representing vector graphics. It was a World Wide Web Consortium submission by Adobe Systems, IBM, Netscape, and Sun Microsystems, that was not adopted as a W3C recommendation....
 (developed from Adobe's PostScript
PostScript

PostScript is a dynamically typed concatenative programming language programming language created by John Warnock and Charles Geschke in 1982. PostScript is best known for its use as a page description language in the electronic and desktop publishing areas....
) and VML
Vector Markup Language

Vector Markup Language is an XML language used to produce vector graphics. VML was submitted as a proposed standard to the W3C in 1998 by Microsoft, Macromedia, and others....
 (developed from Microsoft's RTF
Rich Text Format

The Rich Text Format is a document file format file format developed by Microsoft in 1987 for cross-platform document interchange. Most word processors are able to read and write RTF documents....
) were submitted to W3C in 1998. SVG drew on experience designing both those formats.

SVG allows three types of graphic objects:
  • Vector graphics
    Vector graphics

    Vector graphics is the use of geometrical Primitive s such as point s, line , curves, and shapes or polygon, which are all based upon mathematical equations, to represent s in computer graphics....
  • Raster graphics
    Raster graphics

    In computer graphics, a raster graphics image or bitmap, is a data structure representing a generally Rectangle grid of pixels, or points of color, viewable via a Computer display, paper, or other display medium....
  • Text


Graphical objects can be grouped, styled, transformed, and composited into previously rendered
Rendering (computer graphics)

Rendering is the process of generating an image from a 3D model, by means of computer programs. The model is a description of three-dimensional objects in a strictly defined language or data structure....
 objects. SVG does not directly support z-indices that separate drawing order from document order for objects, which is different from other vector markup languages like VML. Text can be in any XML namespace
XML Namespace

XML namespaces are used for providing uniquely named elements and attributes in an XML instance. They are defined by a W3C recommendation called Namespaces in XML....
 suitable to the application, which enhances searchability and accessibility
Accessibility

Accessibility is a general term used to describe the degree to which a product is accessible by as many people as possible. Accessibility can be viewed as the "ability to access" the functionality, and possible benefit, of some system or entity....
 of the SVG graphics. The feature set includes nested transformations, clipping path
Clipping path

In 2D graphics In 2D computer graphics, a clipping path is a closed vector path, or shape, used to cut out an image in current software....
s, alpha mask
Alpha compositing

In computer graphics, alpha compositing is the process of combining an image with a background to create the appearance of partial transparency....
s, filter effects, template objects and extensibility
Extensibility

In software engineering, extensibility is a system design principle where the implementation takes into consideration future growth. It is a systemic measure of the ability to extend a system and the level of effort required to implement the extension....
.

Printing


While being primarily designated as a vector graphics markup language
Vector graphics markup language

A vector graphics markup language is a markup language that describes an image at a higher level than a bitmap — in terms of lines, curves, and other vector graphics primitives....
, the specification is also designed with the basic capabilities of a page description language
Page description language

A page description language is a language that describes the appearance of a printed page in a higher level than an actual output bitmap. An overlapping term is printer control language, but it should not be confused as referring solely to Hewlett-Packard's PCL....
, like Adobe's
Adobe Systems

Adobe Systems Incorporated is an United States computer Computer software company headquartered in San Jose, California, USA. The company has historically focused upon the creation of multimedia and creativity software products, with a more-recent foray into rich Internet application software development....
 PDF
Portable Document Format

Portable Document Format is a file format created by Adobe Systems in 1993 for document exchange. PDF is used for representing two-dimensional documents in a manner independent of the application software, hardware, and operating system....
. It contains provisions for rich graphics, and is also compatible with the CSS
Cascading Style Sheets

Cascading Style Sheets is a stylesheet language used to describe the presentation of a document written in a markup language. Its most common application is to style web pages written in HTML and XHTML, but the language can be applied to any kind of XML document, including Scalable Vector Graphics and XUL....
 specification's properties for styling purposes; thus, unlike XHTML
XHTML

The Extensible Hypertext Markup Language, or XHTML, is a markup language that has the same depth of expression as HTML, but also conforms to XML syntax....
 and XSL-FO which are layout-oriented languages, SVG is a fully presentational language. A much more print-specialized subset of SVG (SVG Print, authored by Canon, HP, Adobe and Corel) is currently a W3C Working Draft.

Scripting and animation


SVG drawings can be dynamic and interactive. Time-based modifications to the elements can be described in SMIL
Synchronized Multimedia Integration Language

SMIL , the Synchronized Multimedia Integration Language, is a W3C recommendation XML markup language for describing multimedia presentations....
, or can be programmed in a scripting language (e.g., ECMAScript
ECMAScript

ECMAScript is a scripting language, standardized by Ecma International in the ECMA-262 Specification . The language is widely used on the World Wide Web, and is often confused with JavaScript or JScript, the two major Programming language dialect from which ECMAScript was standardized....
). The W3C explicitly recommends SMIL as the standard for animation in SVG, however it is more common to find SVG animated with ECMAScript because it is a language that many developers already understand, and it is more compatible with existing renderers. A rich set of event handler
Event handler

In computer programming, an event handler is an asynchronous callback subroutine that handles inputs received in a program. Each event is a piece of application-level information from the underlying framework, typically the GUI toolkit....
s such as onmouseover and onclick can be assigned to any SVG graphical object.

Compression


SVG images, being XML, contain many repeated fragments of text and are thus particularly suited to compression
Data compression

In computer science and information theory, data compression or source coding is the process of encoding information using fewer bits than an code representation would use through use of specific encoding schemes....
 by gzip
Gzip

gzip is a software application used for file compression. gzip is short for GNU zip; the program is a free software replacement for the compress program used in early Unix systems, intended for use by the GNU Project....
, though other compression methods may be used effectively. Once an SVG image has been compressed by gzip
Gzip

gzip is a software application used for file compression. gzip is short for GNU zip; the program is a free software replacement for the compress program used in early Unix systems, intended for use by the GNU Project....
 it may be referred to as an "SVGZ" image; with the corresponding filename extension. The resulting file may be as small as 20% of the original size.

Development history


SVG was developed by the W3C
World Wide Web Consortium

The World Wide Web Consortium is the main international standards organization for the World Wide Web . It is arranged as a consortium where member organizations maintain full-time staff for the purpose of working together in the development of standards for the World Wide Web....
 SVG Working Group
SVG Working Group

The SVG Working Group is a working group created by the W3C to address the need for an alternative to the PostScript document format. The PostScript format was unable to create scalable fonts and objects without creating files which were inordinately larger than a file which used unscalable fonts and objects....
 starting in 1998, after Macromedia
Macromedia

Macromedia was a United States graphics and Web development software house headquartered in San Francisco, California producing such products as Adobe Flash....
 and Microsoft
Microsoft

Microsoft Corporation is a multinational corporation computer technology corporation that develops, manufactures, licenses, and supports a wide range of computer software products for computing devices....
 introduced Vector Markup Language
Vector Markup Language

Vector Markup Language is an XML language used to produce vector graphics. VML was submitted as a proposed standard to the W3C in 1998 by Microsoft, Macromedia, and others....
 (VML) whereas Adobe Systems
Adobe Systems

Adobe Systems Incorporated is an United States computer Computer software company headquartered in San Jose, California, USA. The company has historically focused upon the creation of multimedia and creativity software products, with a more-recent foray into rich Internet application software development....
 and Sun Microsystems
Sun Microsystems

Sun Microsystems, Inc. is a multinational corporation vendor of computers, computer components, computer software, and information technology services, founded on February 24, 1982....
 submitted a competing format known as PGML. The working group
SVG Working Group

The SVG Working Group is a working group created by the W3C to address the need for an alternative to the PostScript document format. The PostScript format was unable to create scalable fonts and objects without creating files which were inordinately larger than a file which used unscalable fonts and objects....
 was chaired by Chris Lilley
Chris Lilley (W3C)

Chris Lilley was educated at Broxburn Academy in West Lothian, Scotland. He obtained a Bachelors degree in Biochemistry at the University of Stirling, Scotland and then worked in Haematology and Blood transfusion at the hospital laboratories of Stirling and Falkirk....
 of the W3C.

  • SVG 1.0 became a W3C Recommendation
    World Wide Web Consortium

    The World Wide Web Consortium is the main international standards organization for the World Wide Web . It is arranged as a consortium where member organizations maintain full-time staff for the purpose of working together in the development of standards for the World Wide Web....
     on September 4, 2001.
  • SVG 1.1 became a W3C Recommendation on January 14, 2003. The SVG 1.1 specification is modularized in order to allow subsets to be defined as profiles. Apart from this, there is very little difference between SVG 1.1 and SVG 1.0.
    • SVG Tiny and SVG Basic (the Mobile SVG Profiles) became W3C Recommendations on January 14, 2003. These are described as profiles of SVG 1.1.
  • SVG Tiny 1.2 became a W3C Recommendation on December 22, 2008.
  • SVG Full 1.2 is a W3C Working Draft. SVG Tiny 1.2 was initially released as a profile, and later refactored to be a complete specification, including all needed parts of SVG 1.1 and SVG 1.2. SVG 1.2 Full adds modules onto the SVGT 1.2 core.
  • SVG Print adds syntax for multi-page documents and mandatory color management support.


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
User agent

A user agent is the client application used with a particular network protocol; the phrase is most commonly used in reference to those which access the World Wide Web, but other systems such as Session Initiation Protocol use the term user agent to refer to the user's phone....
s with limited capabilities. In particular, SVG Tiny was defined for highly restricted mobile devices such as cellphones, and SVG Basic was defined for higher-level mobile devices, such as PDAs
Personal digital assistant

A personal digital assistant is a handheld computer, also known as a palmtop computer. Newer PDAs also have both color screens and audio capabilities, enabling them to be used as mobile phones, , web browsers, or portable media players....
.

In 2003, the 3GPP
3GPP

The 3rd Generation Partnership Project is a collaboration between groups of telecommunications associations, to make a globally applicable third generation mobile phone system specification within the scope of the International Mobile Telecommunications-2000 project of the International Telecommunication Union ....
 adopted SVG Tiny as the required graphics format for next-generation phones and Multimedia Messaging Service
Multimedia Messaging Service

File:MMS.jpg Multimedia Messaging Service, or MMS, is a telecommunications standard for sending messages that include multimedia objects ....
s (MMS).

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.

SVGT 1.2 adds a microDOM (µDOM), allowing all mobile needs to be met with a single profile.

Functionality


The SVG 1.1 specification defines 14 important functional areas or feature sets:

Paths
Simple or compound shape outlines drawn with curved or straight lines can be filled in or outlined (or used as a clipping path
Clipping path

In 2D graphics In 2D computer graphics, a clipping path is a closed vector path, or shape, used to cut out an image in current software....
) and are expressed in a highly compact coding in which, for example, M precedes the initial numeric X and Y coordinate
Coordinate system

In mathematics and its applications, a coordinate system is a system for assigning an n-tuple of numbers or scalar to each Point in an n-dimensional space....
s and L will precede a subsequent point to which a line should be drawn.
Basic Shapes
Straight-line paths or paths made up of a series of connected straight-line segments (polylines), as well as closed polygons, circles and ellipses can be drawn. Rectangles and round-cornered "rectangles" are other standard elements.
Text
Unicode character text included in an SVG file is expressed as XML character data. Many visual effects are possible, and the SVG specification automatically handles bidirectional text (as when composing a combination of English and Arabic text, for example), vertical text (as Chinese was historically written) and characters along a curved path (such as the text around the edges of the Great Seal of the United States
Great Seal of the United States

The Great Seal of the United States is used to authenticate certain documents issued by the Federal government of the United States. The phrase is used both for the physical seal itself , and more generally for the design impressed upon it....
).
Painting
SVG shapes can be filled and/or outlined (painted with a color, a gradient or a pattern). Fills can be opaque or have various degrees of transparency. "Markers" are end-of-line features, such as arrowheads, or symbols which can appear at the vertices of a polygon.
Color
Colors can be applied to all visible SVG elements, either directly or via the 'fill', 'stroke' and other properties. Colors are specified in the same way as in CSS2
Cascading Style Sheets

Cascading Style Sheets is a stylesheet language used to describe the presentation of a document written in a markup language. Its most common application is to style web pages written in HTML and XHTML, but the language can be applied to any kind of XML document, including Scalable Vector Graphics and XUL....
, i.e. using names like black or blue, in hexadecimal
Hexadecimal

In mathematics and computer science, hexadecimal is a numeral system with a radix, or base, of 16. It uses sixteen distinct symbols, most often the symbols 09 to represent values zero to nine, and A, B, C, D, E, F to represent values ten to fifteen....
 such as #2f0 or #22ff00, in decimal like rgb(255,255,127) or as percentages of the form rgb(100%,100%,50%).
Gradients and Patterns
SVG shapes can be filled or outlined with solid colors as above, or with color gradients or with repeating patterns. Color gradients can be linear or radial (circular), and can involve any number of colors as well as repeats. Opacity gradients can also be specified. Patterns are based on predefined raster or vector graphic objects, which can be repeated in x and/or y directions. Gradients and patterns can be animated and scripted.
Clipping, Masking and Compositing
Graphic elements, including text, paths, basic shapes and combinations of these, can be used as outlines to define both 'inside' and 'outside' regions that can be painted (with colors, gradients and patterns) independently. Fully opaque clipping paths and semi-transparent masks are composited together to calculate the color and opacity of every pixel of the final image, using simple alpha
Alpha compositing

In computer graphics, alpha compositing is the process of combining an image with a background to create the appearance of partial transparency....
 blending.
Filter Effects Interactivity Linking Scripting Animation Fonts Metadata

Portability


As with HTML and CSS, text in SVG may link to external font files, such as system fonts. If the needed font files do not exist on the machine where the SVG file is rendered, the resulting appearance of the text may not be as intended by the creator of the SVG file. To overcome this limitation, text which is intended to be displayed in a scalable font may be stored as an internal SVG Font, with the vector shapes which form the desired glyph
Glyph

A glyph is an element of writing. Two or more glyphs representing the same symbol, whether interchangeable or context-dependent, are called allographs; the abstract unit they are variants of is called a grapheme or character ....
s, and in the Adobe SVG implementation may be alternately embedded as a binary font.

Support for SVG in web browsers


The use of SVG on the web is in its infancy; there is a great deal of inertia due to the long-time use of pure raster formats and other formats like Adobe Flash
Adobe Flash

Adobe Flash is a multimedia Platform created by Macromedia and currently developed and distributed by Adobe Systems. Since its introduction in 1996, Flash has become a popular method for adding animation and interactivity to web pages; Flash is commonly used to create animation, advertisements, and various web page components, to integrate...
 or Java applet
Java applet

A Java applet is an applet delivered to the users in the form of Java bytecode. Java applets can run in a Web browser using a Java Virtual Machine , or in Sun Microsystems's AppletViewer, a stand-alone tool for testing applets....
s, and browser support for SVG is still uneven. Web sites which serve SVG images, for example Wikipedia
Wikipedia

Wikipedia is a Free content, multilingualism encyclopedia project supported by the non-profit organization Wikimedia Foundation. Its name is a portmanteau of the words wiki and encyclopedia....
, typically also provide the images in a raster format, either automatically by HTTP content negotiation
Content negotiation

Content negotiation is a mechanism defined in the [] specification that makes it possible to serve different versions of a document at the same Uniform Resource Identifier, so that user agents can specify which version fit their capabilities the best....
 or allowing the user to directly choose the file.

Native support


There are several advantages to native support: plugins would not need to be installed, SVG could be freely mixed with other formats in a single document, and rendering scripting between different document formats would be considerably more reliable. All currently supported graphical browsers on Linux systems and the Macintosh have implemented some level of SVG support. At this time all major Windows browsers have committed to some level of SVG support except for Internet Explorer which will also not support SVG in the upcoming version IE8 . Other browsers' implementations are not yet fully functional. See Comparison of layout engines for further details. , only Opera
Opera (web browser)

Opera is a web browser and Internet suite developed by the Opera Software company. Opera handles common Internet-related tasks such as displaying web sites, sending and receiving e-mail messages, managing contacts, IRC online chatting, downloading files via BitTorrent , and reading web feeds....
 and Safari
Safari (web browser)

Safari is a web browser developed by Apple Inc.. First released as a beta on January 7, 2003 on the company's Mac OS X operating system, it became Apple's default browser beginning with Mac OS X v10.3, commonly known as "OS X Panther." Apple has also made Safari the native browser for the iPhone OS....
 support embedding via the tag. Tim Berners-Lee
Tim Berners-Lee

Sir Timothy John Berners-Lee, Order of Merit, Order of the British Empire, Royal Society, Royal Academy of Engineering, Royal Society of Arts is an English people computer scientist and MIT professor credited with inventing the World Wide Web....
, the inventor of the Web
World Wide Web

The World Wide Web is a very large set of interlinked hypertext documents accessed via the Internet. With a Web browser, one can view Web pages that may contain writing, s, videos, and other multimedia and navigate between them using hyperlinks....
, has been critical of Internet Explorer for its failure to support SVG.

  • Opera
    Opera (web browser)

    Opera is a web browser and Internet suite developed by the Opera Software company. Opera handles common Internet-related tasks such as displaying web sites, sending and receiving e-mail messages, managing contacts, IRC online chatting, downloading files via BitTorrent , and reading web feeds....
     (since 8.0) has support for the SVG 1.1 Tiny specification while Opera 9 includes SVG 1.1 Basic support and some of SVG 1.1 Full. Since 9.5 Opera has partial SVG Tiny 1.2 support.
  • Browsers based on the Gecko layout engine
    Gecko (layout engine)

    Gecko is a layout engine currently developed by Mozilla Corporation, known as the layout engine of the Mozilla Firefox web browser, Mozilla Application Suite, Nvu, Mozilla Thunderbird and many more....
     (such as Firefox
    Mozilla Firefox

    Mozilla Firefox is a web browser descended from the Mozilla Application Suite and managed by Mozilla Corporation. Official versions are distributed under the terms of the proprietary EULA....
    , Flock
    Flock (web browser)

    Flock is a web browser built on Mozilla Firefox codebase that tends to specialize in providing Social network service and Web 2.0 facilities built into its user interface....
    , Netscape
    Netscape

    Netscape Communications is a United States computer services company, best known for its web browser. The browser was once dominant in terms of Usage share of web browsers, but lost most of that share to Internet Explorer during the browser wars....
    , Camino
    Camino

    Camino is a free software, open source, graphical user interface Web browser based on Mozilla Foundation's Gecko and specifically designed for the Mac OS X operating system....
    , SeaMonkey
    Seamonkey

    Seamonkey may refer to:* Sea-Monkey, a sales trade name for a certain hybrid of brine shrimps* SeaMonkey, a web browser suite. It is the continuation of the Mozilla Application Suite ...
     and Epiphany), all have incomplete support for the SVG 1.1 Full specification since 2005. The Mozilla site has an overview of the modules which are supported in Firefox and an overview of the modules which are in progress in the development. Gecko 1.9, included in Firefox 3.0, adds support for more of the SVG specification (including filters).
  • Browsers based on WebKit
    WebKit

    WebKit is an application framework that provides a foundation upon which to build a web browser. WebKit was originally derived by Apple Inc. from the Konqueror browser?s KHTML software library for use as the engine of Mac OS X?s Safari web browser, and has now been further developed by individuals from the KDE project, Apple, Nokia, Google,...
     (such as Apple
    Apple Computer

    Apple Inc., formerly Apple Computer Inc., is an United States multinational corporation which designs and manufactures consumer electronics and software products....
    's Safari
    Safari (web browser)

    Safari is a web browser developed by Apple Inc.. First released as a beta on January 7, 2003 on the company's Mac OS X operating system, it became Apple's default browser beginning with Mac OS X v10.3, commonly known as "OS X Panther." Apple has also made Safari the native browser for the iPhone OS....
    , Google Chrome
    Google Chrome

    Google Chrome is a web browser developed by Google and based on the WebKit layout engine and application framework.In February 2009, it had a share of 1.15% of the web browser market....
    , and The Omni Group
    The Omni Group

    The Omni Group is a company that develops software for the Mac OS X platform. The Omni Group was informally founded as a NEXTSTEP consulting company in 1989 by Wil Shipley, who immediately brought on Ken Case and Tim Wood....
    's OmniWeb
    OmniWeb

    OmniWeb is a proprietary Internet web browser developed and marketed by The Omni Group. It is available exclusively for Apple Inc. Macintosh Mac OS X operating system....
    ) have incomplete support for the SVG 1.1 Full specification since 2006. This includes Safari 3.0 and later (included with Mac OS X v10.5
    Mac OS X v10.5

    Mac OS X version 10.5 "Leopard" is the sixth Software version of Mac OS X, Apple Inc. desktop and server operating system for Apple Macintosh computers, and the successor to Mac OS X v10.4 "Tiger"....
     and Mac OS X v10.4.11
    Mac OS X v10.4

    Mac OS X version 10.4 ?Tiger? was the fifth Software version of Mac OS X, Apple Inc. desktop and server operating system for Macintosh computers....
    ) as well as Mobile Safari as of iPhone OS
    IPhone OS

    The iPhone OS or OS X iPhone is the operating system developed by Apple Inc. for the iPhone and iPod Touch. Like Mac OS X, from which it was derived, it uses the Darwin foundation....
     2.1.
  • Amaya has partial SVG support.


Plugin support


, Windows Internet Explorer
Internet Explorer

Windows Internet Explorer , commonly abbreviated to IE, is a series of graphical user interface web browsers developed by Microsoft and included as part of the Microsoft Windows line of operating systems starting in 1995....
 is the only major browser not to provide native SVG support. IE requires a plugin
Plugin

In computing, a plug-in consists of a computer program that interacts with a host application software to provide a certain, usually very specific, function "on demand"....
 to render SVG content.

Adobe Systems
Adobe Systems

Adobe Systems Incorporated is an United States computer Computer software company headquartered in San Jose, California, USA. The company has historically focused upon the creation of multimedia and creativity software products, with a more-recent foray into rich Internet application software development....
 provided SVG Viewer, the most widely used SVG plugin, but discontinued support on January 1, 2009. SVG Viewer will remain available for download after this date. The plugin supports most of SVG 1.0/1.1. Adobe SVG plugin support for pre-3.0 versions of Safari
Safari (web browser)

Safari is a web browser developed by Apple Inc.. First released as a beta on January 7, 2003 on the company's Mac OS X operating system, it became Apple's default browser beginning with Mac OS X v10.3, commonly known as "OS X Panther." Apple has also made Safari the native browser for the iPhone OS....
 is for PowerPC
PowerPC

PowerPC is a RISC instruction set architecture created by the 1991 Apple Inc.?IBM?Motorola alliance, known as AIM alliance. Originally intended for personal computers, PowerPC CPUs have since become popular embedded system and high-performance processors....
 only. Zooming and panning of the image is supported, to enable viewing of any area of the SVG lying outside the visible area of its containing window, though scrolling is not supported.

In April 2008, Examotion released version 1.0 of the RENESIS Internet Explorer Plugin which supports SVG 1.1 on IE 6.x and 7.x.

KDE
KDE

KDE is a free software project based around its flagship product, a desktop environment for Unix-like systems. The goal of the project is to provide basic desktop functions and applications for daily needs as well as tools and documentation for developers to write stand-alone applications for the system....
's Konqueror
Konqueror

Konqueror is a web browser, file manager and file viewer designed as a core part of the KDE. It is developed by volunteers and can run on most Unix-like operating systems....
 SVG plugin release is KSVG
KSVG

KSVG is a Scalable Vector Graphics solution for KHTML based browsers.It is integrated in KDE and the Konqueror browser as a KPart. KSVG2 is developed on top of KDOM and expected to be released with KDE4....
. KSVG2 was rolled into KDE 4 core, making it native-rendering. (SVG finds increasing use on the KDE platform: this system-wide support for SVG graphics in version 4 follows early support for SVG wallpaper
Computer wallpaper

The terms wallpaper, desktop picture and desktop background refer to an image used as a background on a computer screen, usually for the desktop metaphor of a graphical user interface....
 at version 3.4
KDE 3

KDE 3 was the third series of releases of the KDE. There were six major releases in this series....
.)

Software & support in applications


Images are usually automatically rasterised using a library such as ImageMagick
ImageMagick

ImageMagick is an open source software suite for and display, supporting close to 100 image formats. It is mainly used to perform various transformation and conversion operations on images....
, which provides a quick but incomplete implementation of SVG, or Batik
Batik (software)

Batik is a pure-Java library that can be used to render, generate, and manipulate Scalable Vector Graphics graphics. SVG is an XML markup language for describing two-dimensional vector graphics....
, which implements nearly all of SVG 1.1 and much of SVG Tiny 1.2 but requires the Java Runtime Environment.

  • Inkscape
    Inkscape

    Inkscape is a free software and open source vector graphics editor application. Its stated goal is to become a powerful graphic tool while being fully compliant with the Extensible Markup Language, Scalable Vector Graphics and Cascading Style Sheets standards....
     is a free software
    Free software

    Free Software or software libre is software that can be used, studied, and modified without restriction, and which can be copied and redistributed in modified or unmodified form either without restriction, or with minimal restrictions only to ensure that further recipients can also do these things and to prevent consumer-facing hardware...
     SVG drawing program for Linux
    Linux

    Linux is a generic term referring to Unix-like computer operating systems based on the Linux kernel. Their development is one of the most prominent examples of free and open source software collaboration; typically all the underlying source code can be used, freely modified, and redistributed by anyone under the terms of the GNU GPL license...
    , Microsoft Windows
    Microsoft Windows

    Microsoft Windows is a series of software operating systems and graphical user interfaces produced by Microsoft. Microsoft first introduced an operating environment named Windows in November 1985 as an add-on to MS-DOS in response to the growing interest in graphical user interfaces ....
     and Mac OS X
    Mac OS X

    Mac OS X is a line of computer operating systems developed, marketed, and sold by Apple Inc., and since 2002 has been included with all new Macintosh computer systems....
    .
  • The Batik SVG Toolkit
    Batik (software)

    Batik is a pure-Java library that can be used to render, generate, and manipulate Scalable Vector Graphics graphics. SVG is an XML markup language for describing two-dimensional vector graphics....
     can be used by Java programs to render, generate, and manipulate SVG graphics.
  • xfig
    Xfig

    Xfig is an open source vector graphics editor which runs under the X Window System on most Unix-compatible platforms.In xfig, figures may be drawn using objects such as circles, boxes, lines, spline curves, text, etc....
     allows export of SVG drawings.
  • The GNOME
    Gnome

    A gnome is a mythical creature characterized by its extremely small size and wiktionary:subterranean lifestyle. The word gnome is derived from the New Latin gnomus....
     project has had integrated SVG support throughout the desktop since 2000.
  • OpenOffice.org Draw
    OpenOffice.org Draw

    OpenOffice.org Draw is a vector graphics editor and is part of the OpenOffice.org office suite. It features "connectors" between shapes, which are available in a range of line styles and facilitate building drawings such as flowchart....
     can export SVG drawings. Import extensions are available to import SVG images into OpenOffice.org
    OpenOffice.org

    OpenOffice.org , commonly known simply as OpenOffice, is an office application suite available for a number of different computer operating systems....
     Draw.
  • Go-oo
    Go-oo

    Go-oo is a concentrated set of patches for the cross-platform OpenOffice.org office suite. Go-oo is also one of OpenOffice.org variants created from these patches....
     Draw (OpenOffice.org
    OpenOffice.org

    OpenOffice.org , commonly known simply as OpenOffice, is an office application suite available for a number of different computer operating systems....
     variant) can open and export SVG files.
  • OxygenOffice Draw (OpenOffice.org
    OpenOffice.org

    OpenOffice.org , commonly known simply as OpenOffice, is an office application suite available for a number of different computer operating systems....
     variant) can open and export SVG files.
  • Adobe Illustrator
    Adobe Illustrator

    Adobe Illustrator is a vector graphics editor developed and marketed by Adobe Systems.The latest version, Illustrator CS4, is the fourteenth generation in the product line....
     supports both the import and export of SVG images. Photoshop, however, does not support SVG import. When writing SVG files Illustrator embeds a complete copy of the image in a proprietary format for later reediting. This often results in changes being lost if another editor is used then the file is reopened in Illustrator.
  • CorelDRAW
    CorelDRAW

    CorelDRAW is a vector graphics editor developed and marketed by Corel of Ottawa, Canada. It is also the name of Corel's Graphics Suite. Its latest version, named X4 , was released in January 2008....
     has an SVG export and import filter.
  • Xara Xtreme
    Xara Xtreme

    Xara Xtreme is a 2D computer graphics vector graphics editor created by the British software company Xara....
     has an SVG export and import filter in both its free/open-source and pay versions.
  • Microsoft Visio
    Microsoft Visio

    Microsoft Visio is diagramming software for Microsoft Windows. It uses vector graphics to create diverse diagrams. It is currently available in two editions, Standard and Professional....
     can save files in the SVG format as well as the SVG compressed format. Graphs created in Microsoft Excel
    Microsoft Excel

    Microsoft Excel is a spreadsheet-application written and distributed by Microsoft for Microsoft Windows and Mac OS X. It features calculation, graphing tools, pivot tables and a macro programming language called VBA ....
     or figures from Microsoft Word
    Microsoft Word

    Microsoft Word is Microsoft's word processor computer software. It was first released in 1983 under the name Multi-Tool Word for Xenix systems....
     can be cut and pasted into Microsoft Visio
    Microsoft Visio

    Microsoft Visio is diagramming software for Microsoft Windows. It uses vector graphics to create diverse diagrams. It is currently available in two editions, Standard and Professional....
     documents.
  • The GIMP allows SVG images to be imported as paths or rendered bitmap
    Bitmap

    In computer graphics, a bitmap or pixmap is a type of computer storage organization or used to store digital images. The term bitmap comes from the computer programming terminology, meaning just a map of bits, a spatially mapped bit array....
    s.
  • Blender
    Blender (software)

    Blender is a free software 3D computer graphics graphics application. It can be used for 3D modeling, UV mapping unwrapping, texturing, skeletal animation, water simulations, skeletal animation, computer animation, rendering , particle system and other computer simulation, non-linear editing, compositing, and creating interactive 3D applicati...
     will import SVG graphics as paths.
  • Cairo
    Cairo (graphics)

    cairo is a software library used to provide a vector graphics-based, device-independent Application programming interface for software developers....
     is a vector graphics based library which can generate SVG. It has bindings for many programming languages including Haskell
    Haskell (programming language)

    Haskell is a standardized, purely functional programming language with non-strict programming language, named after logician Haskell Curry. The goals of the language are described as:...
    , Java, Perl, Python
    Python (programming language)

    Python is a general-purpose high-level programming language. Its design philosophy emphasizes code readability. Python's core syntax and semantics are Minimalism , while the standard library is large and comprehensive....
    , Scheme, Smalltalk and several others.
  • Altsoft Xml2PDF allows converting SVG files to PDF, PS, various GDI+ formats.
  • Ecava IntegraXor created SAGE (SCADA Animation Graphic Editor) which allows SVG graphic to be used in SCADA
    SCADA

    SCADA stands for Supervisory Control And Data Acquisition. It generally refers to an industrial control system: a computer system monitoring and controlling a process....
     application.


Mobile support

On mobile, the most popular implementations for mobile phones are by Ikivo and Bitflash, while for PDAs
Personal digital assistant

A personal digital assistant is a handheld computer, also known as a palmtop computer. Newer PDAs also have both color screens and audio capabilities, enabling them to be used as mobile phones, , web browsers, or portable media players....
, Bitflash and Intesis have implementations. Flash Lite by Adobe
Adobe Systems

Adobe Systems Incorporated is an United States computer Computer software company headquartered in San Jose, California, USA. The company has historically focused upon the creation of multimedia and creativity software products, with a more-recent foray into rich Internet application software development....
 optionally supports SVG Tiny since version 1.1. At the SVG Open 2005 conference, Sun
Sun Microsystems

Sun Microsystems, Inc. is a multinational corporation vendor of computers, computer components, computer software, and information technology services, founded on February 24, 1982....
 demonstrated a mobile implementation of SVG Tiny 1.1 for the Connected Limited Device Configuration
Connected Limited Device Configuration

The Connected Limited Device Configuration is a specification of a framework for Java ME applications targeted at devices with very limited resources such as pagers and mobile phones....
 (CLDC) platform.

Mobile SVG players from Ikivo and BitFlash come pre-installed, i.e., the manufacturers burn the SVG player code in their mobiles before shipping to the customers. Mobiles also can include full web browsers (such as Opera Mini
Opera Mini

Opera Mini is a web browser designed primarily for mobile phones, but also for smartphones and personal digital assistants. It uses the Java ME platform and consequently requires that the mobile device be capable of running Java ME applications....
 and the iPhone
IPhone

The iPhone is an internet-connected multimedia smartphone designed and marketed by Apple Inc. with a flush multi-touch screen and a minimal hardware interface....
's Safari) which include SVG support.

The level of SVG Tiny support available varies from mobile to mobile, depending on the manufacturer and version of the SVG engine installed. Many of the new mobiles support additional features beyond SVG Tiny 1.1, like gradient and opacity; this standard is often referred as SVGT 1.1+.

Nokia's
Nokia

Nokia Corporation is a Finland Multinational corporation communications corporation, headquartered in Keilaniemi, Espoo, a city neighbouring Finland's capital Helsinki....
 S60 platform
S60 platform

The S60 Platform is a platform for mobile phones that runs on Symbian OS. S60 is currently amongst the leading smartphone platforms in the world....
 has built-in support for SVG. For example, icons are generally rendered using the platform's SVG engine. Nokia has also led the expert group which defines Java ME
Java Platform, Micro Edition

In computing, the Java Platform, Micro Edition or Java ME is a specification of a subset of the Java platform aimed at providing a certified collection of Java Application Programming Interfaces for the development of software for tiny, small and resource-constrained devices....
 API
Application programming interface

An application programming interface is a set of subroutine, data structures, class and/or Protocol provided by library and/or operating system Service s in order to support the building of applications....
 for SVG presentation and manipulation. This API has been implemented in S60 Platform 3rd Edition Feature Pack 1 onward. Some Series 40 phones also support SVG (such as 6280).

Most Sony Ericsson
Sony Ericsson

Sony Ericsson is a joint venture established on October 3, 2001 by the Japanese consumer electronics company Sony Corporation and the Swedish telecommunications company Ericsson to make mobile phones....
 phones beginning with K700 (by release date) support SVG Tiny 1.1. Phones beginning with K750 also support such features as opacity and gradients. Phones with Java Platform
Sony Ericsson Java Platform

Sony Ericsson Java platforms is a set of profiles describing particular Sony Ericsson Java implementation. It was designed to help developers to focus on a platform rather than on a variety of different product names....
-8 have support for JSR 226.

SVG is also supported by other models from Motorola
Motorola

Motorola, Inc. is an United States, multinational, Fortune 100, telecommunications company based in Schaumburg, Illinois. It is a manufacturer of wireless telephone handsets, also designing and selling wireless network infrastructure equipment such as cellular transmission base stations and signal amplifiers....
, Samsung, LG
LG

LG may refer to:* LG Group, a South Korean electronics and petrochemicals conglomerate** LG Electronics, an affiliate of the South Korean LG Group which produces electronic products...
, and Siemens
Siemens AG

Siemens Aktiengesellschaft is Europe's largest engineering Conglomerate . Siemens' international headquarters are located in Berlin and Munich, Germany....
.

See also


  • sXBL
    SXBL

    sXBL is a mechanism for defining the presentation and interactive behavior of elements described in a XML Namespace other than Scalable Vector Graphics's ....
  • Raster to vector
    Raster to vector

    In computer graphics, vectorization refers to the process of using software and hardware technology/services to convert raster graphics into vector graphics....
  • List of vector graphics markup languages
    List of vector graphics markup languages

    The following is a list of vector graphics markup languages....
  • List of vector graphics editors
    List of vector graphics editors

    The following is a list of vector graphics editors....
  • Comparison of layout engines (SVG)
  • Vector Markup Language
    Vector Markup Language

    Vector Markup Language is an XML language used to produce vector graphics. VML was submitted as a proposed standard to the W3C in 1998 by Microsoft, Macromedia, and others....
  • Geographic information system
    Geographic Information System

    A geographic information system captures, stores, analyzes, manages, and presents data that refers to or is linked to location.In the strictest sense, the term describes any Information systems that integrates, stores, edits, analyzes, shares, and displays georeference information....
  • Computer Graphics Metafile
    Computer Graphics Metafile

    Computer Graphics Metafile is a free file format and open standard international standard file format for 2D vector graphics, raster graphics, and character , and is defined by International Organization for Standardization/International Electrotechnical Commission 8632....


External links

  • specifications, list of implementations
  • Comparisons of several FOSS SVG libraries, with screenshots
  • Simple summary with screenshots, for over 10 web browsers on Windows XP