Wednesday, May 11, 2011

SVG(Scalable Vector Graphics)

SVG(Scalable Vector Graphics) is based on extensible markup language (XML), used for describing two-dimensional vector graphic a graphical format. SVG formulated by the W3C, is an open standard.
V G (may put the vector graphics) is shrinking World Wide Web ConSor W3C (tium international Internet standards organization -- in August 2000 a new set of two-dimensional vector graphic formats, as well as to the standards of network vector graphics standard. The W3C is as an international X industrial alliance created, the purpose is leading the entire Internet collaborative development and innovation, in order to realize the progress of science and technology and common development. Due to the development of about SVG W3C alliance members of the working group is some well-known manufacturers, such as Adobe, apple, AutoDesk, BitFlash, Corel, hewlett-packard, IBM, ILOG, Macromedia, Microsoft INSO, OASIS, Open, Netscape, Quark, RAL sites, (C C LRC England), S UN, V I S I 0, xerox, etc, so SVG is not a proprietary format, but an Open standard. That is to say, it does not belong to any individual patents, but a through cooperation and common development of the industry standard. Just because of this, just makes SVG can get more rapid development and application.
SVG characteristics
1. Based on XML
In order to ensure network image smoothly and has been developed by the W3C DOM2, CSS, D0M1, XML, XPointer, XSLT, XSL, SMIL, HTML, XHTML technology, as well as other standardization technology, such as the ICC, URI, UNICODE, RGB, ECMAScr ipt/JavaScript, Java coordinated consistent, SVG is completely based on x M L (EXtensibleMarkup Language extensible markup Language), and can and the above-mentioned technology in the new generation of network - image format. SVG is not only is a kind of image formats, since it is an xml-based language, which means it inherits the XML cross-platform-ability and expansibility, thereby in graphics reusability taking a big step forward. If SVG can be embedded in the other XML documents, and can also be embedded document SVG other XML content, each different SVG graphics can be easily combination, constitute a new SVG graphics.
2.adopt text to describe object
SVG including three types of objects: vector graphics (including linear, curve, the graphics edge), bitmap images and text. Various image object can combine, change, and change its style, can also define into preprocessing object.
And the traditional image formats different is, svG adopts text to describe vector graphics, this makes customization image files can be like svG HTML pages have good readability as. When the user with image tools, can use after output svG any word processing tools open svG image, and used to describe images can be seen the text code. Master svG grammar can even use a notepad can read out the contents of the image.
SvG documents displayed text while arise various visualization can decorate effect, but is still exists in the form of text, can choose to copy and paste. Due to the text within SVG the form of text in XML documents, these information can be used for a search engine, whereas search engines usually cannot search to write the words in the bitmap image. These text messages can also help eyesight disabled and unable to see graphics can through other means, such as voice) to transmit these information.
3. Interactive and dynamic
As the network is a dynamic media, SVG to become network image formats, must have a dynamic characteristics, which is different from other image formats an important feature. SVG is based on XML, it provides unmatched dynamic interaction. You can be in svG file embed animated elements (like sports path, gradually fade the effect, now or the growth of objects, shrinkage, rapidly rotating, change color), or through the script definition to achieve highlighted, sounds, animations etc effect.
4. Fully supports the DOM
D0M (Document Object Model Document Object Model) is a kind of Document platform, it allows program or scripts dynamic storage and upload the content of the Document, structure, or style. Because SVG fully supports the DOM, thus SVG documents can be consistent interface standard and external program deal with. SVG element of the objects and SVG completely through scripting language to accept external events, such as the driver to realize their own or mouse movements, to other objects, image control and so on. This is the electronic document, should have excellent feature of. 

No comments:

Post a Comment