what is svg image

10 months ago 22
Nature

Scalable Vector Graphics (SVG) is an XML-based vector image format for defining two-dimensional graphics, having support for interactivity and animation. Unlike other image formats, SVGs dont rely on unique pixels to make up the images. Instead, they use vector data, which is an element with a specific magnitude and direction. This means that SVG files can be significantly resized without losing any of their quality, which makes them ideal for logos and complex online graphics. SVG images are defined in a vector graphics format and stored in XML text files. SVG files can thus be searched, indexed, scripted, and compressed. The XML text files can be created and edited with text editors or vector graphics editors, and are rendered by the most-used web browsers. SVGs are written in XML code, meaning they store any text information as literal text rather than shapes. This allows search engines like Google to read SVG graphics for their keywords, which can potentially help a website move up in search rankings. SVGs can be created using vector graphics editors or by writing the code directly, which is easier than one might think.