Representing Images, Sound & Other Data Flashcards
What are Vector graphics made up of
Made up of lists of objects and their properties
What is a vector object
A mathematically/ geometrically defined construct (e.g. rectangle or circle)
Have properties that determine dimensions, appearance and position
Where are vector properties stored
Stored in a list called a drawing list
Example for storing a circle object
< circle cx = “100” cy = “100” r = “50”
fill = “lightgreen” stroke = “black”
stroke-width = “5” />
cx & cy used to determine centre coords
r used to determine radius of circle
fill used to determine colour of inside
Stroke used to determine border colour
Stroke-width to determine border width
Advantages of vector graphics
- can be resized without distortion as they’re scaleable
- smaller file size due to less info stored
- easier to edit vector graphics as each object can be adapted independently
- dont lose quality regardless of resolution
Advantages of bitmaps
- can be used to depict any level of complexity and detail
- can represent images not composed of regular shapes
Examples of Vector Graphics
- Charts
- Logos
- Web designs
Examples of Bitmaps
- photographs
- Scanned images