1. How a bitmap image is encoded
A bitmap image is made of pixels. A pixel is the smallest identifiable component of the image: a single square of one colour.
Each pixel has one colour, and each colour has a unique binary code. The codes are stored in sequence, pixel after pixel.
The file header stores data about the image file, such as the file type, the compression type, the dimensions and where the data starts in the file. Image resolution is the number of pixels wide by the number of pixels high. Colour depth (bit depth) is the number of bits used to represent each colour. Screen resolution is the number of pixels the screen displays, measured in dots per inch.
Examiner insight
Worked example 13 marks
A school needs to create a new logo. The logo can be created as a bitmap image or a vector graphic.
(a) Explain how a bitmap image is encoded in a computer.
- 1
The image is made of pixels [1]
- 2
Each pixel has one colour [1]
- 3
Each colour has a unique binary code [1]
- 4
The code for the colour of each pixel is stored in sequence / order (any three points earn the marks)