Hi:
if a bitmap is in 24 bits, then 2^8 for each R,G,B right?
but for 32 bits? where does 8 bits come from, the max bits for RGB is 2^24 bits. anyone would explain it?
Thanx
Printable View
Hi:
if a bitmap is in 24 bits, then 2^8 for each R,G,B right?
but for 32 bits? where does 8 bits come from, the max bits for RGB is 2^24 bits. anyone would explain it?
Thanx
24 bit has 8 bits for channels R, G, and B. 32 bit also has 8 bits per channel, but it has a fourth channel called the alpha channel.
The extra bits can contain many things: translucency, z-order, collision data or nothing
>The extra bits can contain many things: translucency, z-order, collision data or nothing
unless otherwise stated it's nearly always alpha
it could even make 10 bit per channel. Pad the last two to fill up the rest of the byte.