Compare the memory sizes required for storing images: the first image is 4-color,

Compare the memory sizes required for storing images: the first image is 4-color, its size is 64 x 128 pixels; the second image is 16-color, its size is 32 x 32 pixels.

Let’s determine what the bit color depth of the first image will equal, because there are 4 colors in it:

N = 2 ^ i;

4 = 2 ^ i;

i = 2.

Let’s determine how many pixels the first image will contain:

64 * 128 = 8192.

Then the amount of required memory:

8192 * 2 = 16384.

Let’s define what the bit color depth of another image will be:

16 = 2 ^ i;

i = 4.

Let’s determine how many pixels the other image will contain:

32 * 32 = 1024.

Then the amount of required memory:

4 * 1024 = 4096.

Let’s compare:

16384> 4096.

Answer: More is needed for the first.



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.