Data representationVector graphics

Data goes through the central processing unit which utilises main and cache memory to improve system performance. Peripherals use interfaces to communicate between the system and a connected device.

Part ofComputing ScienceComputer systems

Vector graphics

Vector graphics are stored as a list of attributes.

Rather than storing the data for each pixel of an image, the computer will generate an object by looking at its attributes.

Rectangle created as a vector graphic with related attributes shown as code

The attributes are shown in bold, their values come immediately after the = sign.

It is easy to scale vector graphics without having to worry about the resolution. To alter the size of the rectangle a designer would just need to change the values for height and width.

This would often happen by simply increasing the size of the image by using the pointer within a graphics package. It is also possible to layer objects on top of one another without losing the data that is underneath (as would be the case in bit-mapped graphics).

Bitmap packages use several bitmaps to allow the user to create separate layers as part of an image, however these will always be combined into a single bitmap when the file is saved.

Changing the complexity of a vector graphic image will change its file size because of the additional information which needs to be stored.