Vector Graphics
Explore what vector graphics are and how they differ from pixel images. Understand how vector images store instructions, their resolution independence, and how rendering converts them for display. Discover typical uses such as diagrams, logos, and text, and learn about effects like gradients and shadows in vector formats.
We'll cover the following...
Storing vector graphics
Vector images take a different approach to storing images. Instead of storing the pixels that make up the image, a vector graphics file stores a list of instructions for how to draw the image. Here is an example of a scalable vector graphics (SVG) file. SVG is a widely-used vector format that is based on XML. It is supported by all the modern web browsers and is the main file format used by the popular open-source vector image editor, Inkscape.
Don’t worry about the details. We will probably never have to edit, or even look at, an SVG file in real life. This is just an illustration, used to give us an idea of what a vector graphics file might look like:
Here is what the image looks like:
Even without understanding the format in detail, is clear that it defines a circle, a ...