How many color shades the maximum can be obtained if you encode the color of each point of the bitmap with two bits.
August 31, 2021 | education|
To encode a color with two bits means to allocate two bits for each code, i.e. two characters in binary notation.
The codes will be as follows: 00, 01, 10, 11. There can be no others. This means that 4 color shades can be encoded in this way.
In this problem, the formula N = 2 ^ i is also applicable, where i is the number of bits allocated for 1 color, and N is the number of colors obtained.
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.