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

- 02-01-2003SuperNewbieColor depth ??
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 - 02-01-2003frenchfry164
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.

- 02-01-2003Sang-drax
The extra bits can contain many things: translucency, z-order, collision data or nothing

- 02-01-2003no-one
>The extra bits can contain many things: translucency, z-order, collision data or nothing

unless otherwise stated it's nearly always alpha - 02-02-2003frenchfry164
it could even make 10 bit per channel. Pad the last two to fill up the rest of the byte.