All Topics  
Vector graphics

 
Vector Graphics

   Email Print
   Bookmark   Link






 

Vector graphics



 
 
Vector graphics is the use of geometrical primitives such as points, lines
Line (mathematics)

In geometry, a line is a Curvature curve. When geometry is used to model the real world, lines are used to represent straight objects with negligible width and height....
, curve
Curve

In mathematics, a curve consists of the points through which a continuous function moving point passes. This notion captures the intuitive idea of a geometrical dimension object, which furthermore is connectedness in the sense of having no continuous function or continuum ....
s, and shapes or polygon
Polygon

In geometry a polygon is traditionally a plane Shape that is bounded by a closed curve path or circuit, composed of a finite sequence of straight line segments ....
(s), which are all based upon mathematical equations, to represent image
Image

An image is an artifact, usually two-dimensional , that has a similar appearance to some subject —usually a physical object or a person....
s in computer graphics
Computer graphics

Computer graphics are graphics created by computers and, more generally, the representation and manipulation of pictorial data by a computer....
.

Vector graphics formats are complementary to 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....
, which is the representation of images as an array of pixel
Pixel

In digital imaging, a pixel is the smallest item of information in an image. Pixels are normally arranged in a 2-dimensional grid, and are often represented using dots, squares, or rectangles....
s, as it is typically used for the representation of photographic images. There are instances when working with vector tools and formats is best practice, and instances when working with raster tools and formats is best practice.






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



Encyclopedia


Vector graphics is the use of geometrical primitives such as points, lines
Line (mathematics)

In geometry, a line is a Curvature curve. When geometry is used to model the real world, lines are used to represent straight objects with negligible width and height....
, curve
Curve

In mathematics, a curve consists of the points through which a continuous function moving point passes. This notion captures the intuitive idea of a geometrical dimension object, which furthermore is connectedness in the sense of having no continuous function or continuum ....
s, and shapes or polygon
Polygon

In geometry a polygon is traditionally a plane Shape that is bounded by a closed curve path or circuit, composed of a finite sequence of straight line segments ....
(s), which are all based upon mathematical equations, to represent image
Image

An image is an artifact, usually two-dimensional , that has a similar appearance to some subject —usually a physical object or a person....
s in computer graphics
Computer graphics

Computer graphics are graphics created by computers and, more generally, the representation and manipulation of pictorial data by a computer....
.

Vector graphics formats are complementary to 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....
, which is the representation of images as an array of pixel
Pixel

In digital imaging, a pixel is the smallest item of information in an image. Pixels are normally arranged in a 2-dimensional grid, and are often represented using dots, squares, or rectangles....
s, as it is typically used for the representation of photographic images. There are instances when working with vector tools and formats is best practice, and instances when working with raster tools and formats is best practice. There are times when both formats come together. An understanding of the advantages and limitations of each technology and the relationship between them is most likely to result in efficient and effective use of tools.

Overview


Computer displays are made up from small dots called pixels. The picture is built up from these dots. The smaller and closer the dots are together, the better the quality of the image, but the bigger the file needed to store the data. If the image is magnified, it becomes grainy, as the resolution of the eye enables it to pick out individual pixels. Vector graphics files store the lines, shapes and colours that make up an image as mathematical formulae.

A vector graphics program uses the mathematical formulae to construct the screen image, building the best quality image possible, given the screen resolution. The mathematical formulae determine where the dots that make up the image should be placed for the best results when displaying the image. Since these formulae can produce an image scalable to any size and detail the quality of the image is only determined by the resolution of the display, and the file size of vector data generating the image stays the same. Printing the image to paper will usually give a sharper, higher resolution output than printing it to the screen but can use exactly the same vector data file.

Editing vector graphics

A vector-graphics drawing software
Vector graphics editor

A vector graphics editor is a computer program that allows users to compose and edit vector graphics s interactively on a computer. and save them in one of many popular vector graphics formats, such as Encapsulated PostScript, Portable Document Format, Windows Metafile, Scalable Vector Graphics, or Vector Markup Language....
 is used for creating and editing vector graphics. The image can be changed by editing screen objects which are then saved as modifications to the mathematical formulae. Mathematical operators in the software can be used to stretch, twist, and colour component objects in the picture or the whole picture, and these tools are presented to the user intuitively through the graphical user interface of the computer. It is possible to save the screen image produced as a bitmap/raster file or generate a 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....
 of any resolution from the vector file for use on any device.

The size of the file generated will depend on the resolution required, but the size of the vector file generating the bitmap/raster file will always remain the same. Thus, it is easy to convert from a vector file to a range of bitmap/raster file formats but it is much more difficult to go in the opposite direction, especially if subsequent editing of the vector picture is required. It might be an advantage to save an image created from a vector source file as a bitmap/raster format, because different systems have different (and incompatible) vector formats, and some might not support vector graphics at all. However, once a file is converted from the vector format, it is likely to be bigger, and it loses the advantage of scalability without loss of resolution. It will also no longer be possible to edit individual parts of the image as discrete objects.

Vector formats are not always appropriate in graphics work. For example, digital devices such as cameras and scanners produce raster graphics that are impractical to convert into vectors, and so for this type of work, the editor will operate on the pixels rather than on drawing objects defined by mathematical formulae. Comprehensive graphics tools will combine images from vector and raster sources, and may provide editing tools for both, since some parts of an image could come from a camera source, and others could have been drawn using vector tools.

Standards

The W3C standard for vector graphics is svg. The standard is complex and has been relatively slow to be established at least in part owing to commercial interests. Many web browsers have now some support for rendering svg data but full implementations of the standard are still comparatively rare.

Human