A raster graphic file contains a black and white image with a size of 400 * 150 pixels.

A raster graphic file contains a black and white image with a size of 400 * 150 pixels. What is the information size of this file in Kbytes?

Since, according to the condition of our problem, the image is black and white (no grayscale), the number of colors (N) is 2.

Then the color depth will be equal to:

N = 2 ^ i;

2 = 2 ^ i;

i = 1.

Let us find out what value in bits the file size will correspond to, when it is precisely known from the condition of our problem that the size of this image is 400 by 150 points:

400 * 150 * 1 = 60,000.

Let’s translate the above file size from bits to kilobytes:

60,000: 8: 1024 ≈ 7.32.

Answer: The size of the specified file is 7.32 Kb.



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.