Using Binary for Pixels in Images

How Images can be Made in Binary Code

Binary is NOT just used for CODE and COMPUTER FUNCTIONS!

It can be used for making images as well. This can be very useful for telling a computer what colour each pixel is, and where it should be in relation to other pixels. In binary, there is a code for each colour pixel. These codes can be used to create colour images. For instance, if red was 1000, blue was 0100, and green was 0010, if you wrote the binary 0100 0010 1000 you would get a row of 3 pixels: blue, green and red.

A picture with a lower the resolution has less pixels per inch than a higher resolution one, but makes the picture file smaller. Likewise, if you have a high resolution picture, it will have more pixels per inch than a lower resolution picture, but the file will be bigger.
If you lower the colour depth of a picture, it makes the binary colour recognition codes smaller (From 01000100 to 1010), making the picture file smaller but altering the colours so they are not the originals. Raising the colour depth allows for more detailed colours, but would make the file larger. Greyscale (Black and white) images would have two colour values: 1 and 0. Changing colour depth can give some very interesting effects. The above picture shows an example of how cnanging colour depth affects quality. The top image has less detailed colours available than the bottom one.