Skip to topic
    ← Back to course topics

    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

    1. 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
    1. 1Day 1: Master the definitions of bitmapped images, pixels, colour depth, and practice calculating uncompressed image file sizes.
    2. 2Day 2: Learn vector terminology: drawing lists, shapes, properties, and the mathematical recalculation behind resolution independence.
    3. 3Day 3: Create a direct comparison table contrasting vector and bitmapped graphics across scalability, file size predictability, realism, and rendering speed.
    4. 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)
    Calculate

    Show clear mathematical steps, including conversions between bits and bytes, with appropriate units (e.g. MB, MiB) attached to the final number.

    Compare

    Identify both similarities and differences between vectors and bitmaps, addressing both paradigms systematically across identical criteria (e.g. scaling, file size, rendering).

    Discuss

    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)
    Pitfall: Stating that vector graphics simply 'do not lose quality when zoomed in' without mentioning mathematical equations or drawing lists.
    ❌ Weak Answer (Loses Marks):Vector images are better because when you zoom in they do not go blurry or pixelated like bitmaps do.
    Example improved answer:Vector graphics are resolution-independent because they are stored as a drawing list of geometric shapes defined by mathematical properties (e.g., coordinates, line weight, fill colour). When scaled, these mathematical attributes are recalculated, preserving sharp edges without pixelation.
    Examiner Tip: Always refer to the 'drawing list', 'geometric shapes/primitives', and 'mathematical recalculation of properties' when explaining vector scalability.
    Pitfall: Assuming vector graphics always have smaller file sizes than bitmapped graphics regardless of image complexity.
    ❌ Weak Answer (Loses Marks):Vectors always use less memory and storage than bitmapped graphics because they are not made of pixels.
    Example improved answer:Vector graphics generally require less storage for simple geometric drawings because only property definitions are stored. However, for continuous-tone images with high visual complexity, such as photographs, each minute variation would require thousands of separate vector paths, resulting in a substantially larger file size than an equivalent bitmap.
    Examiner Tip: Distinguish clearly between simple logos (ideal for vectors) and continuous-tone photographic images (ideal for bitmaps).
    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. 1.Step 1: Calculate the total number of pixels: 1920 * 1080 = 2,073,600 pixels.
    2. 2.Step 2: Calculate total bits by multiplying total pixels by the colour depth: 2,073,600 * 24 bits = 49,766,400 bits.
    3. 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. 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).
    Final Answer: 6.22 MB (or 6.2208 MB; 5.93 MiB if base-2 binary units are specified).

    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. 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. 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. 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. 4.Step 4: Synthesise the practical suitability: vector graphics allow easy manipulation of individual elements (colours, paths) without degrading quality.
    Final Answer: Vectors are superior because they are resolution-independent and store shapes as mathematical properties in a drawing list. They scale to billboard size without pixelation while keeping file sizes small, unlike bitmaps which degrade and become excessively large at huge display resolutions.
    Active Recall Memory Test
    What are the components of a vector graphic drawing list?
    Key Fact: A collection of geometric shapes (primitives) and their defined mathematical properties (e.g., coordinates, dimensions, stroke colour, line width, fill colour).
    State the formula for calculating the raw file size of an uncompressed bitmapped image in bytes.
    Key Fact: (Width in pixels * Height in pixels * Colour depth in bits) / 8.
    What is the technical term for converting a vector graphic into a bitmapped graphic for display on a monitor?
    Key Fact: Rasterisation.
    Why does scaling a bitmapped image up result in pixelation?
    Key Fact: Because it has a fixed pixel resolution; scaling enlarges the individual pixels across more display elements without adding new colour data, revealing blocky pixel boundaries.
    Frequently Asked Questions
    Can a vector graphic be displayed directly on a computer monitor?
    No, it cannot be displayed directly without processing. Computer monitors are raster displays composed of a physical grid of pixels. Therefore, the vector drawing list must first be rasterised by the graphics processing unit (GPU) or software engine, translating mathematical objects into pixel colours at the screen's output resolution.
    Why are SVG files often used on modern web pages instead of PNGs?
    SVG (Scalable Vector Graphics) files use XML-based vector code, which renders crisply on any display resolution or pixel density (such as Apple Retina screens) without blurring. Furthermore, for icons and navigational elements, SVG files have significantly smaller file sizes than high-resolution PNGs, leading to faster web page load times.
    What happens to the file size of a vector graphic when you scale it up?
    The file size remains completely unchanged. Vector files store the mathematical properties and coordinates of objects, not the physical pixels rendered on the screen. Changing the displayed width or height simply changes the scale factor used in the rendering equations, leaving the underlying drawing list file identical in byte size.
    What is the difference between colour depth and resolution in bitmapped images?
    Resolution refers to the total number of pixels comprising the image grid, commonly expressed as width by height (e.g. 1920x1080). Colour depth (or bit depth) specifies the number of binary bits allocated to each individual pixel to determine the range of distinct colours it can represent (e.g. 8 bits allows 256 colours; 24 bits allows 16.7 million colours).