How many bits of memory does a black and white image (no grayscale) that is 90 pixels wide and 200 pixels high take up?

Note: K is the number of pixels, I is the information weight of the picture, i is the information weight of the pixel, N is the number of colors in the palette.

Given:

K = 90 × 200 pixels

N = 2 colors

Find: I.

Solution:

N = 2 ^ i;

2 = 2 ^ i;

i = 1 (bit) – occupies 1 pixel in memory;

I = K * i = 90 * 200 * 1 = 18000 (bit).

Answer: 18000 bits.



One of the components of a person's success in our time is receiving modern high-quality education, mastering the knowledge, skills and abilities necessary for life in society. A person today needs to study almost all his life, mastering everything new and new, acquiring the necessary professional qualities.