If the frame buffer has 8 bits per pixel and 8 bits are allocated for each of the R, G, B components, what would be the size of the lookup table?
(A) 24 bytes
(B) 1024 bytes
(C) 768 bytes
(D) 256 bytes
Explanation: Number of indexes the framebuffer = 28 = 256
Size of each entry = 8 bits for R component + 8 bits for G component + 8 bits for B component = 24 bits = 3 Bytes
Size of frame buffer = 256 * 3 = 768 Bytes
Option (C) is correct.
Quiz of this Question
Attention reader! Don’t stop learning now. Get hold of all the important DSA concepts with the DSA Self Paced Course at a student-friendly price and become industry ready.