Bitmap Images: Pixels, Resolution and Colour Depth
A picture stored as a grid of pixels, each one a binary colour value. Resolution and colour depth decide both how it looks and how big the file is.
What a learner can do afterwards
- Explain what resolution controls and what colour depth controls
- Work out the size of an uncompressed image from its dimensions and colour depth
- Predict what happens to a picture blown up past its resolution
1 · Read
A digital picture is a grid of tiny squares called pixels, and each pixel stores its colour as binary numbers, just as letters are stored as numbers with an agreed table. A simple 16 by 16 heart in two colours can map red to 1 and white to 0, which is called a bitmap. That long list of numbers is why a photo can fill storage or turn blocky when it grows too large.
Size comes from three numbers multiplied: width times height times colour depth. A 100 by 100 image with 8-bit colour takes 100 times 100 times 8, which is 80,000 bits. Double the depth to 16 and the file doubles too, since every pixel carries twice the bits.
Resolution is how many pixels build the picture, and more pixels in the same space look sharper. Colour depth is how many bits store each pixel, and more depth means more possible colours. Stretch a low-resolution picture too far and it turns blurry or blocky, because the computer must guess colours it never stored.
Work out the bit size before you save or send. Multiply the sides by the depth and you will never be surprised by a giant file.
Resolution sets the pixel count, depth sets the bits per pixel, and their product sets the size.
2 · Watch
Take it off screen
Where it sits
8 questions wait behind this lesson, each with its answer explained. Every answer feeds the sky: stars light as they are learned, and dim when it is time to come back.