How to calculate the amount of video memory required to store a 512 by 268 graphics
August 23, 2021 | education
| How to calculate the amount of video memory required to store a 512 by 268 graphics image with 16,777,216 displayable colors
First, you need to determine how many bits of information one color occupies.
For this we use the following formula:
N = 2 ^ i
N is the number of colors in the palette.
i – volume of one color.
16777216 = 2 ^ 24
i = 24 bits.
Determine the total number of pixels in this image.
To do this, we multiply its resolution among ourselves.
512 * 268 = 137,216 pixels.
Find the volume of the image in bits.
137216 * 24 = 3293184 bits.
In Kbytes we get:
3293184 / (1024 * 8) = 401.8 KB.
Answer:
Requires 401.8 KB of video memory.
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.