Vector Graphics4 - Wikipedia
Vector Graphics4 - Wikipedia
Vector graphics
Vector graphics are a form of computer graphics in
which visual images are created directly from
geometric shapes defined on a Cartesian plane, such
as points, lines, curves and polygons. The associated
mechanisms may include vector display and printing
hardware, vector data models and file formats, as
well as the software based on these data models
(especially graphic design software, computer-aided
design, and geographic information systems). Vector
graphics are an alternative to raster or bitmap Example showing comparison of vector graphics
graphics, with each having advantages and and raster graphics upon magnification
disadvantages in specific situations.[1]
While vector hardware has largely disappeared in favor of raster-based monitors and printers,[2]
vector data and software continue to be widely used, especially when a high degree of geometric
precision is required, and when complex information can be decomposed into simple geometric
primitives. Thus, it is the preferred model for domains such as engineering, architecture,
surveying, 3D rendering, and typography, but is entirely inappropriate[3] for applications such as
photography and remote sensing, where raster is more effective and efficient. Some application
domains, such as geographic information systems (GIS) and graphic design, use both vector and
raster graphics at times, depending on purpose.
Vector graphics are based on the mathematics of analytic or coordinate geometry, and is not
related to other mathematical uses of the term vector. This can lead to some confusion in
disciplines in which both meanings are used.
Data model
The logical data model of vector graphics is based on the mathematics of coordinate geometry, in
which shapes are defined as a set of points in a two- or three-dimensional cartesian coordinate
system, as p = (x, y) or p = (x, y, z). Because almost all shapes consist of an infinite number of
points, the vector model defines a limited set of geometric primitives that can be specified using a
finite sample of salient points called vertices. For example, a square can be unambiguously defined
by the locations of three of its four corners, from which the software can interpolate the connecting
boundary lines and the interior space. Because it is a regular shape, a square could also be defined
by the location of one corner, a size (width=height), and a rotation angle.
A single point.
A line segment, defined by two end points, allowing for a simple linear interpolation of the
intervening line.
https://en.wikipedia.org/wiki/Vector_graphics 1/9
02/04/2025, 22:37 Vector graphics - Wikipedia
A polygonal chain or polyline, a connected set of line segments, defined by an ordered list of
points.
A polygon, representing a region of space, defined by its boundary, a polyline with coincident
starting and ending vertices.
A variety of more complex shapes may be supported:
Parametric curves, in which polylines or polygons are augmented with parameters to define a
non-linear interpolation between vertices, including circular arcs, cubic splines, Catmull–Rom
splines, Bézier curves and bezigons.
Standard parametric shapes in two or three dimensions, such as circles, ellipses, squares,
superellipses, spheres, tetrahedrons, superellipsoids, etc.
Irregular three-dimensional surfaces and solids, are usually defined as a connected set of
polygons (e.g., a polygon mesh) or as parametric surfaces (e.g., NURBS).
Fractals, often defined as an iterated function system.
In many vector datasets, each shape can be combined with a set of properties. The most common
are visual characteristics, such as color, line weight, or dash pattern. In systems in which shapes
represent real-world features, such as GIS and BIM, a variety of attributes of each represented
feature can be stored, such as name, age, size, and so on.[4]
In some Vector data, especially in GIS, information about topological relationships between objects
may be represented in the data model, such as tracking the connections between road segments in
a transport network.[5]
If a dataset stored in one vector file format is converted to another file format that supports all the
primitive objects used in that particular image, then the conversion can be lossless.
Subsequent vector graphics systems, most of which iterated through dynamically modifiable stored
lists of drawing instructions, include the IBM 2250, Imlac PDS-1, and DEC GT40. There was a
video game console that used vector graphics called Vectrex as well as various arcade games like
Asteroids, Space Wars, Tempest and many cinematronics titles such as Rip Off, and Tail Gunner
using vector monitors.[9] Storage scope displays, such as the Tektronix 4014, could display vector
https://en.wikipedia.org/wiki/Vector_graphics 2/9
02/04/2025, 22:37 Vector graphics - Wikipedia
images but not modify them without first erasing the display. However, these were never as widely
used as the raster-based scanning displays used for television, and had largely disappeared by the
mid-1980s except for specialized applications.
Plotters used in technical drawing still draw vectors directly to paper by moving a pen as directed
through the two-dimensional space of the paper. However, as with monitors, these have largely
been replaced by the wide-format printer that prints a raster image (which may be rendered from
vector data).
Software
Because this model is useful in a variety of application domains, many different software programs
have been created for drawing, manipulating, and visualizing vector graphics. While these are all
based on the same basic vector data model, they can interpret and structure shapes very
differently, using very different file formats.
Graphic design and illustration, using a vector graphics editor or graphic art software such as
Adobe Illustrator. See Comparison of vector graphics editors for capabilities.
Geographic information systems (GIS), which can represent a geographic feature by a
combination of a vector shape and a set of attributes.[10] GIS includes vector editing, mapping,
and vector spatial analysis capabilities.
Computer-aided design (CAD), used in engineering, architecture, and surveying. Building
information modeling (BIM) models add attributes to each shape, similar to a GIS.
3D computer graphics software, including computer animation.
File formats
Vector graphics are commonly found today in the SVG, WMF,
EPS, PDF, CDR or AI types of graphic file formats, and are
intrinsically different from the more common raster graphics
file formats such as JPEG, PNG, APNG, GIF, WebP, BMP and
MPEG4.
https://en.wikipedia.org/wiki/Vector_graphics 3/9
02/04/2025, 22:37 Vector graphics - Wikipedia
There is also a version of SVG for mobile phones called SVGT (SVG Tiny version). These images
can count links and also exploit anti-aliasing. They can also be displayed as wallpaper.
CAD software uses its own vector data formats, usually proprietary formats created by software
vendors, such as Autodesk's DWG and public exchange formats such as DXF. Hundreds of distinct
vector file formats have been created for GIS data over its history, including proprietary formats
like the Esri file geodatabase, proprietary but public formats like the Shapefile and the original
KML, open source formats like GeoJSON, and formats created by standards bodies like Simple
Features and GML from the Open Geospatial Consortium.
Conversion
To raster
Modern displays and printers are raster devices; vector formats
have to be converted to a raster format (bitmaps – pixel arrays)
before they can be rendered (displayed or printed).[11] The size
of the bitmap/raster-format file generated by the conversion
will depend on the resolution required, but the size of the
vector file generating the bitmap/raster file will always remain
Original reference photo before
the same. Thus, it is easy to convert from a vector file to a range
vectorization
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.
The file size of a vector graphic image depends on the number of graphic elements it contains; it is
a list of descriptions.
From raster
Printing
Vector art is ideal for printing since the art is made from a series of mathematical curves; it will
print very crisply even when resized.[12] For instance, one can print a vector logo on a small sheet
of copy paper, and then enlarge the same vector logo to billboard size and keep the same crisp
quality. A low-resolution raster graphic would blur or pixelate excessively if it were enlarged from
business card size to billboard size. (The precise resolution of a raster graphic necessary for high-
quality results depends on the viewing distance; e.g., a billboard may still appear to be of high
quality even at low resolution if the viewing distance is great enough.)[13]
If we regard typographic characters as images, then the same considerations that we have made for
graphics apply even to the composition of written text for printing (typesetting). Older character
sets were stored as bitmaps. Therefore, to achieve maximum print quality they had to be used at a
https://en.wikipedia.org/wiki/Vector_graphics 4/9
02/04/2025, 22:37 Vector graphics - Wikipedia
Operation
Advantages of this style of drawing over raster graphics:
https://en.wikipedia.org/wiki/Vector_graphics 5/9
02/04/2025, 22:37 Vector graphics - Wikipedia
Some authors have criticized the term vector graphics as being confusing.[17][18] In particular,
vector graphics does not simply refer to graphics described by Euclidean vectors.[19] Some authors
have proposed to use object-oriented graphics instead.[17][20][21] However this term can also be
confusing as it can be read as any kind of graphics implemented using object-oriented
programming.[17]
Vector operations
Vector graphics editors typically allow translation, rotation, mirroring, stretching, skewing, affine
transformations, changing of z-order (loosely, what's in front of what) and combination of
primitives into more complex objects.[17] More sophisticated transformations include set
operations on closed shapes (union, difference, intersection, etc.).[22] In SVG, the composition
operations are based on alpha composition.[23]
Vector graphics are ideal for simple or composite drawings that need to be device-independent,[24]
or do not need to achieve photo-realism. For example, the PostScript and PDF page description
languages use a vector graphics model.
Vexels Proprietary
VectorStock Proprietary
Vecteezy Freemium
Freepik Proprietary
See also
Animation
Anti-Grain Geometry
Cairo (graphics)
Comparison of vector graphics editors
Comparison of graphics file formats
Computer-aided design
Direct2D
Illustration
Javascript graphics library
https://en.wikipedia.org/wiki/Vector_graphics 6/9
02/04/2025, 22:37 Vector graphics - Wikipedia
Raster to vector
Raster graphics
Resolution independence
Turtle graphics
Vector game
Vector graphics file formats
Vector monitor
Vector network
Vector packs
Vexel
Wire frame model
3D modeling
Notes
1. Nigel Chapman; Jenny Chapman (2002) [2000]. Digital Multimedia (https://archive.org/details/d
igitalmultimedi00chap). Wiley. p. 86 (https://archive.org/details/digitalmultimedi00chap/page/n1
00). ISBN 0-471-98386-1.
2. Arie Kaufman (1993). Rendering, Visualization and Rasterization Hardware (https://books.goog
le.com/books?id=lF4irp7bBN0C&pg=PA86). Springer Science & Business Media. pp. 86–87.
ISBN 978-3-540-56787-5.
3. "Vector art files" (https://pastorhome.weebly.com/vector-art-files.html). pastorhome. Retrieved
March 1, 2025.
4. Vector Data Models (https://saylordotorg.github.io/text_essentials-of-geographic-information-sy
stems/s08-02-vector-data-models.html) Archived (https://web.archive.org/web/2022041103013
8/https://saylordotorg.github.io/text_essentials-of-geographic-information-systems/s08-02-vecto
r-data-models.html) April 11, 2022, at the Wayback Machine, Essentials of Geographic
Information Systems, Saylor Academy, 2012
5. Bolstad, Paul (2008). GIS Fundamentals: A First Text on Geographic Information Systems
(3rd ed.). Eider Press. p. 37.
6. Murray 2002, pp. 81–83.
7. Holzer, Derek (April 2019). Vector Synthesis: a Media-Archaeological Investigation into Sound-
Modulated Light (https://aaltodoc.aalto.fi/bitstream/handle/123456789/38066/master_Holzer_Ia
n_2019.pdf) (PDF) (Thesis). Aalto University. urn:urn:NBN:fi:aalto-201905193156. Archived (htt
ps://web.archive.org/web/20210418193445/https://aaltodoc.aalto.fi/bitstream/handle/12345678
9/38066/master_Holzer_Ian_2019.pdf) (PDF) from the original on April 18, 2021. Retrieved
July 31, 2020.
8. Kassem, Dalal (October 15, 2014). The Sketchpad Window (http://hdl.handle.net/10919/63920)
(Thesis). Virginia Polytechnic Institute and State University. hdl:10919/63920 (https://hdl.handl
e.net/10919%2F63920). Retrieved September 18, 2020.
9. Wolf, Mark J. P. (2008). The Video Game Explosion: A History from PONG to Playstation and
Beyond (https://books.google.com/books?id=XiM0ntMybNwC&pg=PA67). ABC-CLIO. pp. 67–
71. ISBN 978-0-313-33868-7. Retrieved July 31, 2020.
10. Peuquet, Donna J. (1984), "A Conceptual Framework and Comparison of Spatial Data Models
(https://www.researchgate.net/publication/244954245_A_Conceptual_Framework_and_Compa
rison_of_Spatial_Data_Models)", Cartographica 21 (4): 66–113. doi:10.3138/D794-N214-221R-
23R5 (https://doi.org/10.3138%2FD794-N214-221R-23R5). Archived (https://web.archive.org/w
eb/20211024054823/https://www.researchgate.net/publication/244954245_A_Conceptual_Fra
mework_and_Comparison_of_Spatial_Data_Models) October 24, 2021, at the Wayback
Machine.
11. Gharachorloo et al. 1989, p. 355.
https://en.wikipedia.org/wiki/Vector_graphics 7/9
02/04/2025, 22:37 Vector graphics - Wikipedia
References
Barr, Alan H. (July 1984). "Global and local deformations of solid primitives" (http://citeseerx.ist.
psu.edu/viewdoc/download?doi=10.1.1.67.6046&rep=rep1&type=pdf) (PDF). Proceedings of
https://en.wikipedia.org/wiki/Vector_graphics 8/9
02/04/2025, 22:37 Vector graphics - Wikipedia
the 11th annual conference on Computer graphics and interactive techniques. Vol. 18. pp. 21–
30. CiteSeerX 10.1.1.67.6046 (https://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.67.6
046). doi:10.1145/800031.808573 (https://doi.org/10.1145%2F800031.808573).
ISBN 0897911385. S2CID 16162806 (https://api.semanticscholar.org/CorpusID:16162806).
Retrieved July 31, 2020.
Gharachorloo, Nader; Gupta, Satish; Sproull, Robert F.; Sutherland, Ivan E. (July 1989). "A
characterization of ten rasterization techniques" (http://citeseerx.ist.psu.edu/viewdoc/downloa
d?doi=10.1.1.105.461&type=pdf) (PDF). Proceedings of the 16th annual conference on
Computer graphics and interactive techniques. Vol. 23. pp. 355–368.
CiteSeerX 10.1.1.105.461 (https://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.105.46
1). doi:10.1145/74333.74370 (https://doi.org/10.1145%2F74333.74370). ISBN 0201504340.
S2CID 8253227 (https://api.semanticscholar.org/CorpusID:8253227). Retrieved July 28, 2020.
Murray, Stephen (2002). "Graphic Devices". In Roger R. Flynn (ed.). Computer Sciences, Vol
2: Software and Hardware, Macmillan Reference USA (https://link-gale-com.libaccess.lib.mcm
aster.ca/apps/doc/CX3401200218/GVRL?u=ocul_mcmaster&sid=GVRL&xid=acaf5d43). Gale
eBooks. Retrieved August 3, 2020.
External links
Media related to Vector graphics at Wikimedia Commons
https://en.wikipedia.org/wiki/Vector_graphics 9/9