0% found this document useful (0 votes)
19 views1 page

Copy of Ist U4 l1 Activity 2 Creating Images Using Binary Code

Uploaded by

api-749498643
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
Download as pdf or txt
0% found this document useful (0 votes)
19 views1 page

Copy of Ist U4 l1 Activity 2 Creating Images Using Binary Code

Uploaded by

api-749498643
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
Download as pdf or txt
Download as pdf or txt
You are on page 1/ 1

CREATING IMAGES USING BINARY CODE Name:

Representing images
Images also need to be converted into binary in order for a computer to process them so that they can be
seen on our screen. Digital images are made up of pixels. Each pixel in an image is made up of binary
numbers.

If we say that 1 is black (or on) and 0 is white (or off), then a simple black and white picture can be
created using binary.

To create the picture, a grid can be set out and the squares coloured (1 – black and 0 – white). But
before the grid can be created, the size of the grid needs be known. This data is called metadata and
computers need metadata to know the size of an image. If the metadata for the image to be created is
10x10, this means the picture will be 10 pixels across and 10 pixels down.
This example shows an image created in this way:

Instructions: Using the 15 x 15 grid below, create your own image by placing a 0 in the cell if the pixel will
be turned OFF (not filled at all) or a 1 in the cell if the pixel will be turned ON (filled with a color). Also,
change the highlight of the 1 to BLACK so you can see the image take form in the grid.

1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

3 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

4 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

5 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

6 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

7 0 0 0 0 0 0 1 1 11 0 0 0 0 0 0

8 0 0 0 0 0 0 1 1 1 0 0 0 0 0 0

9 0 0 0 0 0 0 1 1 1 0 0 0 0 0 0

10 0 0 0 0 0 0 1 1 1 0 0 0 0 0 0

11 0 0 0 0 0 0 1 11 1 0 0 0 0 0 0

12 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

13 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

14 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

15 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

You might also like