假設某一張彩色影像的解析度為 800 × 600,每個像素的顏色採用「索引顏色(indexed color)」(也可稱為「調色盤顏色 palette color」)來編碼,假設使用的調色盤顏色設定為 32 色,則編碼此張彩色影像需要多少位元?
A2400000 bits正確答案
B7200000 bits
C15360000 bits
D46080000 bits
答案與詳解
32 色 = 2^5,每像素需 5 bits 表示索引值。800×600 = 480,000 像素,480,000 × 5 = 2,400,000 bits,正解。
