How many colors can you use to create a 350×200 image so that its size does not exceed 68 KB?

First, let’s find the total number of pixels for a given image.

To do this, we multiply the sizes among ourselves.

Will be:

350 * 200 = 70,000 pixels.

We translate the maximum allowable amount of information into bits.

Since 1 kB contains 1024 bytes, and 1 byte contains 8 bits, we get:

68 * 1024 * 8 = 557056 bits.

We find the information volume of one pixel of the image.

We divide the amount of information by the number of pixels.

557056 / 70,000 = 7.95.

We take a pixel size equal to 8 bits.

Find the number of colors.

N = 28 = 256 colors.

Answer: Maximum 256 colors.



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.