Binary - black & white images

Here you can create your own black and white image by toggling the checkboxes on or off. Turning a checkbox on will set the related binary bit from zero to one, and this will turn the corresponding square to either black or white.

Back to part 1

These squares are more usually referred to as pixels. I have made these pixels a lot bigger than they normally are, so you can see what’s happening.

At the bottom you can see the binary that is used to represent this image. For this 5 by 5 black and white image we need 25 bits to display it. With ASCII in the previous post we needed just 7 bits to represent a letter.

Now let’s create a larger image with 10 by 10 pixels. This time we need 100 bits for our image. As we move onto color images in the next couple of post you will see we need a lot more bits.

Alex Orpwood Written by:

Software developing and architecting for 20 years. Satellite monitoring by day, writing my own app by night. More about me