Vector graphics versus bitmapped graphics — AQA A-Level Computer Science
Bitmapped graphics represent images as a grid of pixels with fixed colour depths, whereas vector graphics use scalable geometric primitives defined by mathematical properties. In AQA A-Level Computer Science, students must compare their storage requirements, scalability, and suitability for complex photorealistic versus geometric illustrations.
Vector graphics versus bitmapped graphics explained
Vector graphics represent an image as a set of geometric objects, such as lines, curves, circles and polygons, each stored as a list of mathematical instructions with coordinates, colours and line weights.
Read the full explanation
Bitmapped graphics represent an image as a grid of pixels, each storing a colour value. To compare the two, consider how each approach stores and redraws an image. A vector file storing a circle needs only its centre, radius and style, so it stays small and can be scaled to any size without losing sharpness, because the image is recalculated at the new resolution. A bitmap of the same circle must store a colour for every pixel, so its file size grows with the image's pixel dimensions and colour depth, and enlarging it makes the pixels visible as blocks.
Your focus
- Compare the vector graphics approach with the bitmapped graphics approach and understand the advantages and disadvantages of each.
Which command word is this?
Show clear mathematical steps, including conversions between bits and bytes, with appropriate units (e.g. MB, MiB) attached to the final number.
Vector graphics versus bitmapped graphics exam tips
Topic Overview
Vector graphics and bitmapped graphics represent the two fundamental paradigms for encoding visual media in digital computer systems. Bitmapped images map colour values to a discrete grid of picture elements (pixels), making them ideal for complex, continuous-tone scenes such as digital photography.
In contrast, vector graphics define images using geometric primitives and paths based on mathematical equations and stored within drawing lists. Understanding this topic is critical for computer scientists evaluating trade-offs in storage, transmission bandwidth, rendering pipeline overhead, and image manipulation across varied hardware devices.
Key Concepts
- →Bitmapped graphics: Fixed-resolution arrays of pixels, where each pixel has a binary value representing its colour based on the colour depth (bits per pixel).
- →Drawing list: A structured list of commands, primitives (lines, curves, rectangles, circles), and associated attributes (stroke, fill, coordinates) used to reconstruct a vector image.
- →Resolution independence: The inherent capability of vector graphics to scale to any dimensions without loss of fidelity or pixelation, as coordinates are recalculated upon rendering.
- →Storage trade-offs: Bitmapped file sizes scale directly with pixel dimensions and colour depth; vector file sizes depend strictly on the quantity and complexity of drawing objects.
Marking Points
- Explains that vector graphics store shapes as mathematical descriptions, such as coordinates and radius, rather than individual pixel values.
- Explains that bitmapped graphics store a colour value for every pixel in a grid.
- Identifies that vector files are typically smaller for simple images because fewer values are stored.
- Identifies that bitmap file size depends on image dimensions and colour depth.
- Explains that vector images can be scaled without loss of quality, whereas bitmaps become pixelated when enlarged.
- Identifies that bitmaps are better suited to photographs and images with complex colour variation.
Examiner Tips
- 💡For each comparison, name the feature, then state how each approach handles it.
- 💡Use concrete examples such as a logo or a photograph to justify which approach suits which task.
- 💡Make sure each advantage you give is paired with the corresponding disadvantage of the other approach.
- 💡Always state the specific formula when calculating bitmap file size: 'File size (in bits) = width (px) * height (px) * colour depth (bpp)'. State whether metadata is included or ignored.
- 💡Use precise technical vocabulary: use 'drawing list', 'geometric primitives', 'mathematical properties', and 'rasterisation' rather than vague terms like 'shapes' or 'drawn with code'.
- 💡Pay attention to the base requested for storage conversions: AQA usually accepts either decimal (1 MB = 1,000,000 bytes) or binary (1 MiB = 1,048,576 bytes) unless a specific prefix is specified in the question.
Common Mistakes
- Describes vector graphics as stored pixel by pixel; correct this by stating that vectors store geometric descriptions.
- States that bitmaps are always larger files; correct this by linking file size to pixel dimensions and colour depth, which can make a simple bitmap smaller than a complex vector.
- Claims vector images cannot represent photographs; correct this by noting that photographs have complex colour variation that is impractical to describe with shapes, so bitmaps are preferred.
- Lists advantages and disadvantages without comparing them; correct this by linking each feature to the other approach.
- Believing vector images can never be displayed on standard screens: All conventional monitor displays are raster grids, meaning vector graphics must undergo a 'rasterisation' process by the graphics pipeline before display.
- Confusing image resolution (DPI/PPI) with total pixel dimensions: File size calculations rely on the absolute width and height in pixels, not the physical print density (DPI), unless physical dimensions are provided.
- Assuming vector files are universally smaller than bitmap files: Highly intricate artwork with millions of nodes or gradient meshes can produce vector files larger and slower to render than a compressed bitmap format like JPEG or PNG.
Revision Plan
- 1Day 1: Master the definitions of bitmapped images, pixels, colour depth, and practice calculating uncompressed image file sizes.
- 2Day 2: Learn vector terminology: drawing lists, shapes, properties, and the mathematical recalculation behind resolution independence.
- 3Day 3: Create a direct comparison table contrasting vector and bitmapped graphics across scalability, file size predictability, realism, and rendering speed.
- 4Day 4: Practice AQA exam questions focusing on 4-6 mark evaluate/compare questions and edge-case scenarios like rasterisation and photorealism.
Exam Question Types
- 📋Calculation questions: Determining raw image file sizes or colour palettes given dimensions and colour depth.
- 📋Comparative short-answer questions: Explaining the technical differences in how vectors and bitmaps handle resizing and scaling.
- 📋Scenario-based evaluation questions (4-6 marks): Recommending whether an application (e.g. mobile game sprite, photographic archive, company logo) should use vector or bitmap representation.
Command Word Expectations (AQA)
Show clear mathematical steps, including conversions between bits and bytes, with appropriate units (e.g. MB, MiB) attached to the final number.
Identify both similarities and differences between vectors and bitmaps, addressing both paradigms systematically across identical criteria (e.g. scaling, file size, rendering).
Explore multiple perspectives or trade-offs for a given scenario, arriving at a justified conclusion on whether vector or bitmap formats are most appropriate.
How Students Lose Marks (Examiner Pitfalls)
Step-by-Step Worked Solutions
Question: A bitmapped image has dimensions of 1920 x 1080 pixels and a colour depth of 24 bits. Calculate the minimum uncompressed file size in megabytes (MB), where 1 MB = 10^6 bytes. Show all working.
- 1.Step 1: Calculate the total number of pixels: 1920 * 1080 = 2,073,600 pixels.
- 2.Step 2: Calculate total bits by multiplying total pixels by the colour depth: 2,073,600 * 24 bits = 49,766,400 bits.
- 3.Step 3: Convert bits to bytes by dividing by 8: 49,766,400 / 8 = 6,220,800 bytes (or directly: 2,073,600 * 3 bytes = 6,220,800 bytes).
- 4.Step 4: Convert bytes to megabytes (MB using decimal standard 10^6): 6,220,800 / 1,000,000 = 6.2208 MB (or 5.93 MiB if using binary mebibytes 2^20).
Question: A digital signage company wants to design a company logo that can be rendered on both a 64x64 smartphone app icon and a 48-sheet motorway billboard. Discuss why a vector graphic format is superior to a bitmapped format for this use case. (4 marks)
- 1.Step 1: Identify that vector graphics store images as drawing lists of geometric primitives (e.g. circles, polygons, paths) defined by mathematical formulas rather than a fixed grid of pixels.
- 2.Step 2: Explain resolution independence: scaling the logo from an icon to a massive billboard recalculates the coordinates and line widths, preventing pixelation, blurring, or artefacts.
- 3.Step 3: Evaluate file size implications: the storage size of a vector file depends on the number of shapes and attributes, remaining constant regardless of display dimensions, whereas a bitmap scaled to billboard resolution would require a massive pixel grid and excessive file size.
- 4.Step 4: Synthesise the practical suitability: vector graphics allow easy manipulation of individual elements (colours, paths) without degrading quality.