Join Now
Quality Rating:
  • Currently 0.0 / 5
(0.0 / 5 - 0 votes cast)
Expertise Level:
  • Currently 0.0 / 5
(0.0 / 5 - 0 votes cast)

This page was last modified 14:57, 29 June 2007.

Introduction to svg

From Forum Nokia Wiki

What is SVG?

   * SVG stands for Scalable Vector Graphics
   * SVG is used to define vector-based graphics for the Web
   * SVG defines the graphics in XML format
   * SVG graphics do NOT lose any quality if they are zoomed or resized
   * Every element and every attribute in SVG files can be animated
   * SVG is a World Wide Web Consortium (W3C) recommendation
   * SVG integrates with other W3C standards such as the DOM and XSL

SVG History & Advantages

SVG 1.1 became a W3C Recommendation in January 2003.

Sun Microsystems, Adobe, Apple, IBM, and Kodak are some of the organizations that have been involved in defining SVG.

Advantages of using SVG over other image formats (like JPEG and GIF) are:

  • SVG files can be read and modified by a large range of tools (e.g. notepad)
  • SVG files are smaller and more compressible than JPEG and GIF images
  • SVG images are scalable
  • SVG images can be printed with high quality at any resolution
  • SVG images are zoomable. Any part of the image can be zoomed without degradation
  • Text in SVG is selectable and searchable (excellent for making maps)
  • SVG works with Java technology
  • SVG is an open standard
  • SVG files are pure XML

The main competitor to SVG is Flash.

The biggest advantage SVG has over Flash is the compliance with other standards (e.g. XSL and the DOM). Flash relies on proprietary technology that is not open source.

A drawback of SVG at the moment is that not all browsers support it. Mozilla browsers, Firefox, and Opera support SVG, and Microsoft plan to support SVG.

The number of SVG editors are growing, and Adobe GoLive 5 supports SVG.


SVG Filters


The available filters in SVG are:

  • feBlend
  • feColorMatrix
  • feComponentTransfer
  • feComposite
  • feConvolveMatrix
  • feDiffuseLighting
  • feDisplacementMap
  • feFlood
  • feGaussianBlur
  • feImage
  • feMerge
  • feMorphology
  • feOffset
  • feSpecularLighting
  • feTile
  • feTurbulence
  • feDistantLight
  • fePointLight
  • feSpotLight

SVG Gradients A gradient is a smooth transition from one color to another. In addition, several color transitions can be applied to the same element.

There are two main types of gradients in SVG:

   * Linear Gradients
   * Radial Gradients
Related Discussions
Thread Thread Starter Forum Replies Last Post
svg menus Larry101 Mobile Java General 0 2007-03-06 08:44
Embebed Flash Lite objects fjorge_ht General Browsing 5 2007-09-04 21:05
Midlets with SVG content. javalis@rogers.com Graphics & Video & Streaming 3 2008-05-22 18:42
SVG issue in S60 3rd iulian_moldovan General Symbian C++ 33 2007-01-01 07:25
what differents between 3rd mif file and 2nd aif file teiayuu General Symbian C++ 6 2007-08-06 11:25
 
Powered by MediaWiki
     
     RDF Facets:
     
     
     qfnZtypeQUqfnTypeZCommunityContentQ
     qfnZtypeQUqfnTypeZWebpageQ
     qfnZtypeQUqfnTypeZWikiContentQ
     qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX