Question 1 Report
A web developer needs to choose an image format for different parts of a website.
| Use case | Best format | Reason |
|---|---|---|
| Product photograph | ||
| Company logo with transparent background | ||
| Simple animated icon |
(a) Complete the table by recommending a suitable image format and giving a reason. [6]
(a)
| Use case | Best format | Reason |
|---|---|---|
| Product photograph | JPEG | JPEG is ideal for photographs because it handles the millions of colours and subtle gradients found in real-world images. Its lossy compression produces small file sizes while maintaining acceptable visual quality, which is important for fast-loading web pages. [2] |
| Company logo with transparent background | PNG | PNG supports an alpha channel for transparency, allowing the logo to be placed on any background colour without a visible rectangle around it. It uses lossless compression, keeping the logo's sharp edges and text perfectly crisp with no quality loss. [2] |
| Simple animated icon | GIF | GIF supports simple frame-by-frame animation and is widely supported by all web browsers. It is well suited for small, low-colour animated icons with a limited palette of up to 256 colours. [2] |
Everything you need to excel in your exams