teach-ict.com logo

THE education site for computer science and ICT

3. Pixels

As we mentioned earlier, computers can only handle 1s and 0s. They need absolute values, rather than a mishmash of different colours.

These values also need to be arranged in an organised manner, so that the computer can tell the position of every one.

The simplest way of doing this is with a grid, with a single value stored in one square of the grid.

So how do you do this with a photograph, which has millions of different colours?

The first step is mostly the same: make a grid.

We've overlaid the image below with a grid of lines. This divides it up into smaller sections.

The picture has effectively been divided into 11 horizontal elements (columns) and 8 elements vertically (rows). This is what happens when an image is digitised - it is divided up into many individual elements.

Challenge see if you can find out one extra fact on this topic that we haven't already told you

Click on this link: What is a pixel